This file contains 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 ContextRunner | |
DANGER = EntityModel.create_access_model('danger') | |
DANGER_ENTITY = Entity.find_by(table_name: 'danger') | |
include FactoryGirl::Syntax::Methods | |
def initialize(opts={}) | |
opts.each do |var, value| | |
let(var) do | |
value | |
end | |
end |
This file contains 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
Aug 29, 2016 07:58:37 | |
Определение названия сети | |
Поиск подходящего алгоритма для сети MosMetro_Free | |
Версия приложения: 1.6.2-37 | |
Подключение к сети MosMetro_Free | |
Проверка доступа в интернет | |
java.net.UnknownHostException: Unable to resolve host "wi-fi.ru": No address associated with hostname | |
at java.net.InetAddress.lookupHostByName(InetAddress.java:427) | |
at java.net.InetAddress.getAllByNameImpl(InetAddress.java:252) | |
at java.net.InetAddress.getAllByName(InetAddress.java:215) |
This file contains 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
{ | |
"swagger": "2.0", | |
"info": { | |
"version": "1.0.0", | |
"title": "Topcontrol", | |
"description": "Topcontrol" | |
}, | |
"tags": [ | |
{ | |
"name": "pet", |
This file contains 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
WITH prepared AS ( | |
SELECT | |
issue_task_id, | |
MAX(stage_id) AS stage_id, | |
MAX(executor_id) AS executor_id, | |
MAX(day_id) day_id, | |
MAX(project_id) project_id, | |
MAX(area_id) area_id, | |
MAX(state_id) state_id, | |
MAX(location_id) location_id, |
This file contains 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
# Access number | |
cat production.log | grep "^Processing" | wc | awk '{print $1}' | |
# Each IP access number | |
cat production.log | grep “^Processing” | awk ‘{print $4}’ | uniq -c | |
# Independent IP number | |
cat production.log | grep "^Processing" | awk '{print $4}' | uniq | wc | awk '{print $1}' | |
cat production.log | grep “^Processing” | awk ‘{print $4}’ | uniq | wc -l |
This file contains 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
LeftEdge = 1780 | |
RightEdge = 5576 | |
TopEdge = 1635 | |
BottomEdge = 4431 | |
FingerLow = 25 | |
FingerHigh = 30 | |
MaxTapTime = 180 | |
MaxTapMove = 241 | |
MaxDoubleTapTime = 180 | |
SingleTapTimeout = 180 |
This file contains 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
require 'minitest/autorun' | |
module BracketTester | |
module_function | |
def balanced?(str) | |
brackets = 0 | |
str.each_char do |char| | |
if char == '(' | |
brackets += 1 | |
else |
This file contains 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
[36m[phonegap][39m executing 'cordova build ios --device'... | |
cp: no such file or directory: /Users/programmer/projects/phonegap/pristine/jscore/phonegap/res/ios/icon-60.png | |
cp: no such file or directory: /Users/programmer/projects/phonegap/pristine/jscore/phonegap/res/ios/[email protected] | |
cp: no such file or directory: /Users/programmer/projects/phonegap/pristine/jscore/phonegap/res/ios/[email protected] | |
cp: no such file or directory: /Users/programmer/projects/phonegap/pristine/jscore/phonegap/res/ios/icon-76.png |
This file contains 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
[36m[phonegap][39m executing 'cordova build ios'... | |
cp: no such file or directory: /Users/programmer/projects/phonegap/pristine/jscore/phonegap/res/ios/icon-60.png | |
cp: no such file or directory: /Users/programmer/projects/phonegap/pristine/jscore/phonegap/res/ios/[email protected] | |
cp: no such file or directory: /Users/programmer/projects/phonegap/pristine/jscore/phonegap/res/ios/[email protected] | |
cp: no such file or directory: /Users/programmer/projects/phonegap/pristine/jscore/phonegap/res/ios/icon-76.png |
This file contains 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
10-07 20:05:57.951: E/AndroidRuntime(14890): FATAL EXCEPTION: Thread-2596 | |
10-07 20:05:57.951: E/AndroidRuntime(14890): Process: com.snegoffon.corruption, PID: 14890 | |
10-07 20:05:57.951: E/AndroidRuntime(14890): java.lang.OutOfMemoryError | |
10-07 20:05:57.951: E/AndroidRuntime(14890): at java.lang.String.<init>(String.java:255) | |
10-07 20:05:57.951: E/AndroidRuntime(14890): at libcore.io.IoUtils$FileReader.toString(IoUtils.java:272) | |
10-07 20:05:57.951: E/AndroidRuntime(14890): at libcore.io.IoUtils.readFileAsString(IoUtils.java:114) | |
10-07 20:05:57.951: E/AndroidRuntime(14890): at com.android.org.conscrypt.CertPinManager.readPinFile(CertPinManager.java:111) | |
10-07 20:05:57.951: E/AndroidRuntime(14890): at com.android.org.conscrypt.CertPinManager.rebuild(CertPinManager.java:85) | |
10-07 20:05:57.951: E/AndroidRuntime(14890): at com.android.org.conscrypt.CertPinManager.<init>(CertPinManager.java:49) | |
10-07 20:05:57.951: E/AndroidRuntime(14890): at com.android.org.conscrypt.TrustManagerImpl.<init>(TrustManagerImpl.ja |