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
[ | |
"com.noshufou.android.su", | |
"com.noshufou.android.su.elite", | |
"eu.chainfire.supersu", | |
"com.koushikdutta.superuser", | |
"com.thirdparty.superuser", | |
"com.yellowes.su", | |
"com.topjohnwu.magisk", | |
"com.kingroot.kinguser", | |
"com.kingo.root", |
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
import sys | |
import json | |
import re | |
kslide = 0x0 | |
if len(sys.argv) < 2: | |
print("Usage: PanicParser.py [file path]") | |
exit() |
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
/* eslint-disable no-tabs,no-mixed-operators */ | |
import * as d3 from 'd3'; | |
/** | |
* @see http://bl.ocks.org/nbremer/21746a9668ffdf6d8242#radarChart.js | |
*/ | |
function createRadarChart(selector, data, options) { | |
const defaultOptions = { | |
w: 600, // Width of the circle | |
h: 600, // Height of the circle |
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
language: node_js | |
node_js: | |
- "7" | |
sudo: true | |
dist: trusty | |
branches: | |
only: | |
- master |
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 --install-extension Angular.ng-template | |
code --install-extension Compulim.vscode-express | |
code --install-extension EditorConfig.EditorConfig | |
code --install-extension SimonTest.simontest | |
code --install-extension Zignd.html-css-class-completion | |
code --install-extension alefragnani.project-manager | |
code --install-extension andys8.jest-snippets | |
code --install-extension burkeholland.simple-react-snippets | |
code --install-extension capaj.vscode-exports-autocomplete | |
code --install-extension ChakrounAnas.turbo-console-log |
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
package io.github.pshegger.simplerootdetector; | |
import android.content.Context; | |
import android.content.pm.ActivityInfo; | |
import android.content.pm.PackageInfo; | |
import android.content.pm.PackageManager; | |
import java.io.File; | |
import java.util.Arrays; | |
import java.util.List; |
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
var gulp = require('gulp'), | |
browserSync = require('browser-sync'), | |
historyApiFallback = require('connect-history-api-fallback'); | |
gulp.task('serve', function() { | |
browserSync({ | |
files: ['js/**/*.js', '*.html', 'css/**/*.css'], | |
server: { | |
baseDir: '.', | |
middleware: [ historyApiFallback() ] |
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
# Version key/value should be on his own line | |
PACKAGE_VERSION=$(cat package.json \ | |
| grep version \ | |
| head -1 \ | |
| awk -F: '{ print $2 }' \ | |
| sed 's/[",]//g') | |
echo $PACKAGE_VERSION |
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
angular.module('dont_fill', []) | |
// cross-browser trick to prevent input being auto-filled | |
// where autocomplete=off don't work as intended a lot of time | |
.directive('dontFill', function() { | |
return { | |
restrict: 'A', |
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
var CryptoJS = require("crypto-js");//replace thie with script tag in browser env | |
//encrypt | |
var rawStr = "hello world!"; | |
var wordArray = CryptoJS.enc.Utf8.parse(rawStr); | |
var base64 = CryptoJS.enc.Base64.stringify(wordArray); | |
console.log('encrypted:', base64); | |
//decrypt | |
var parsedWordArray = CryptoJS.enc.Base64.parse(base64); |
NewerOlder