This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- TLP 1.11.0-beta.2_0663bb9 -------------------------------------------- | |
| +++ Configured Settings: | |
| defaults.conf L0006: TLP_ENABLE="1" | |
| defaults.conf L0007: TLP_WARN_LEVEL="3" | |
| defaults.conf L0008: TLP_MSG_COLORS="91 93 1 92" | |
| defaults.conf L0009: TLP_AUTO_SWITCH="2" | |
| defaults.conf L0010: TLP_PROFILE_AC="PRF" | |
| defaults.conf L0011: TLP_PROFILE_BAT="BAL" | |
| defaults.conf L0012: DISK_IDLE_SECS_ON_PRF="0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- TLP 1.11.0-beta.2_0663bb9 -------------------------------------------- | |
| +++ Configured Settings: | |
| defaults.conf L0006: TLP_ENABLE="1" | |
| defaults.conf L0007: TLP_WARN_LEVEL="3" | |
| defaults.conf L0008: TLP_MSG_COLORS="91 93 1 92" | |
| defaults.conf L0009: TLP_AUTO_SWITCH="2" | |
| defaults.conf L0010: TLP_PROFILE_AC="PRF" | |
| defaults.conf L0011: TLP_PROFILE_BAT="BAL" | |
| defaults.conf L0012: DISK_IDLE_SECS_ON_PRF="0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- TLP 1.11.0-beta.2_0663bb9 -------------------------------------------- | |
| +++ Configured Settings: | |
| defaults.conf L0006: TLP_ENABLE="1" | |
| defaults.conf L0007: TLP_WARN_LEVEL="3" | |
| defaults.conf L0008: TLP_MSG_COLORS="91 93 1 92" | |
| defaults.conf L0009: TLP_AUTO_SWITCH="2" | |
| defaults.conf L0010: TLP_PROFILE_AC="PRF" | |
| defaults.conf L0011: TLP_PROFILE_BAT="BAL" | |
| defaults.conf L0012: DISK_IDLE_SECS_ON_PRF="0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RUBY_GC_HEAP_FREE_SLOTS=600000 | |
| RUBY_GC_HEAP_GROWTH_FACTOR=1.25 | |
| RUBY_GC_HEAP_GROWTH_MAX_SLOTS=300000 | |
| RUBY_GC_HEAP_INIT_SLOTS=600000 | |
| RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=1.3 | |
| RUBY_GC_MALLOC_LIMIT=64000000 | |
| RUBY_GC_OLDMALLOC_LIMIT=64000000 | |
| RUBY_HEAP_FREE_MIN=12500 | |
| RUBY_HEAP_SLOTS_GROWTH_FACTOR=1 | |
| RUBY_HEAP_SLOTS_INCREMENT=100000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| client | |
| dev tun | |
| proto tcp | |
| remote 192.168.1.1 1194 | |
| resolv-retry infinite | |
| nobind | |
| persist-key | |
| persist-tun | |
| ca [inline] | |
| cert [inline] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env python2 | |
| # Requires: PIL, colormath | |
| # | |
| # Improved algorithm now automatically crops the image and uses much | |
| # better color matching | |
| from PIL import Image, ImageChops | |
| from colormath.color_objects import RGBColor | |
| import argparse | |
| import math |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Code loops around each of the windows | |
| # that the current user has open and switches | |
| # focus to each of them in rotation... 100 times. | |
| 100.times do |x| | |
| windows = client.extapi.window.enumerate | |
| windows.each do |winder| | |
| if winder[:title] != 'Default IME' | |
| result = client.railgun.user32.SetForegroundWindow(winder[:handle]) | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class String | |
| UNACCENT_HASH = { | |
| 'A' => 'ÀÁÂÃÄÅĀĂǍẠẢẤẦẨẪẬẮẰẲẴẶǺĄ', | |
| 'a' => 'àáâãäåāăǎạảấầẩẫậắằẳẵặǻą', | |
| 'C' => 'ÇĆĈĊČ', | |
| 'c' => 'çćĉċč', | |
| 'D' => 'ÐĎĐ', | |
| 'd' => 'ďđ', | |
| 'E' => 'ÈÉÊËĒĔĖĘĚẸẺẼẾỀỂỄỆ', | |
| 'e' => 'èéêëēĕėęěẹẻẽếềểễệ', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ##!/bin/bash | |
| USER=teamcity | |
| INSTALL=/home/$USER/BuildAgent | |
| INSTANCE=1 | |
| # ------------- | |
| SCRIPT=$INSTALL/bin/agent.sh | |
NewerOlder