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
| adb shell screenrecord --size 480x848 /sdcard/demo.mp4 | |
| adb pull /sdcard/demo.mp4 | |
| ffmpeg.exe -i demo.mp4 -filter:v "setpts=0.5*PTS" demo.gif |
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
| gcc libwebsockets-websocket.c -L/usr/local/lib -lwebsockets |
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
| // ==UserScript== | |
| // @name ReadablePass | |
| // @namespace zyeoman | |
| // @description Generate readable password | |
| // @include * | |
| // @version 1 | |
| // @grant none | |
| // ==/UserScript== | |
| reg = /([^aeiou]*[aeiou]*([^aeiou]*([^aeiou][aeiou]+[^aeiou]*$)))/ | |
| host = /(?:\w+\.)*?([^\.]*)\.[^\.]*$/.exec(window.location.host) [1] |
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
| #include "stdio.h" | |
| char weight[10]; | |
| int compare(const char *a, const char *b){ | |
| return weight[*a]-weight[*b]; | |
| } | |
| void ShuffleArray_Sort(char* arr, int len){ | |
| for (int j = 0; j < 10; ++j){ |
NewerOlder