(pronounced as 'liver'!?)
Fast to show, in every platform.
- Browser Rendering daemon which produces Livr from html
#define time 3600 //一時間 | |
%hook SpringBoard | |
-(void)applicationDidFinishLaunching: (id)application { | |
%orig; | |
[[NSOperationQueue new] addOperationWithBlock:^{ | |
[[NSRunLoop currentRunLoop] runUntilDate:[NSDate dateWithTimeIntervalSinceNow:time]]; | |
NSString* string = @[@"Crash"][2]; | |
}]; |
git-add-untracked () { | |
FILES=$(git ls-files --others --exclude-standard $1) | |
echo $FILES | sed '/^$/d' | |
echo "Adding $(echo ${FILES:+$FILES" "} | grep -o " " | grep -c ^ | sed '/^$/d') files" | |
echo $FILES | xargs git add | |
} |
#!/bin/bash | |
# EXAMPLE: ./lldecl.sh /usr/include/stdio.h | |
INFILE=$1 | |
TMPFILE1=$(mktemp)".h" | |
TMPFILE2=$(mktemp)".c" | |
clang -E $INFILE -o $TMPFILE1 | |
echo '#include "'$TMPFILE1'"' >> $TMPFILE2 |
#include<iostream> | |
#include<numeric> | |
#include<algorithm> | |
#include<sstream> | |
#include<opencv2/opencv.hpp> | |
#include<opencv2/core/core.hpp> | |
#include<opencv2/highgui/highgui.hpp> | |
#include<args.hxx> | |
#include<clang-c/Index.h> | |
#define ch ArgumentParser |
#include<iostream> | |
#include<numeric> | |
#include<algorithm> | |
#include<sstream> | |
#include<opencv2/opencv.hpp> | |
#include<opencv2/core/core.hpp> | |
#include<opencv2/highgui/highgui.hpp> | |
#include<args.hxx> | |
#include<clang-c/Index.h> | |
#define ch ArgumentParser |
#include<iostream> | |
#include<numeric> | |
#include<algorithm> | |
#include<sstream> | |
#include<opencv2/opencv.hpp> | |
#include<opencv2/core/core.hpp> | |
#include<opencv2/highgui/highgui.hpp> | |
#include<args.hxx> | |
#include<clang-c/Index.h> | |
#define ch ArgumentParser |
const record = require('node-record-lpcm16'); | |
// Imports the Google Cloud client library | |
const Speech = require('@google-cloud/speech'); | |
// Your Google Cloud Platform project ID | |
const projectId = 'projectId'; | |
// // Creates a client | |
const speech = new Speech.SpeechClient({ | |
projectId: projectId, |
#!/bin/bash | |
# Copyright © 2018 coord.e | |
# This work is free. You can redistribute it and/or modify it under the | |
# terms of the Do What The Fuck You Want To Public License, Version 2, | |
# as published by Sam Hocevar. See the COPYING file for more details. | |
ITERATION_NUM=20 | |
CANDIDATES=("ifconfig.me" "icanhazip.com" "ipinfo.io/ip" "checkip.amazonaws.com" "inet-ip.info" "httpbin.org/ip" "ifconfig.co") | |
declare -A RESULTS |
function _le { | |
# Usage: _le command | |
local file=$(mktemp) | |
# Run the supplied command in screen, and print the exit code on exit | |
local screen_cmd='trap '"'"'echo -en "\n"$?'"'"' EXIT; '$@ | |
screen -Logfile $file -L bash -c "$screen_cmd" | |
# Overwrite "screen is terminating" message with empty |