- Tools > Code Snippets Manager
- Import
- Choose .Snippet file
Two notes:
- Remove any permission that cause install failure. You dont have the same cert as gapps so just remove it.
- To allow fiddler (proxy) use: https://medium.com/@elye.project/android-nougat-charlesing-ssl-network-efa0951e66de or http://archive.is/YhKHb
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
REM TO C# | |
REM https://www.imagemagick.org/discourse-server/viewtopic.php?t=33531 | |
SET f=31.jpg | |
REM Pencil: | |
REM convert -size 256x256 xc: +noise Random -virtual-pixel tile -motion-blur 0x20+135 -charcoal 1 pencil_tile.gif | |
REM Get the black |
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
VSCODE - JS? | |
Android Stduio - Java? | |
xCode - ioS? | |
doxygen | |
[?] Visual Studio Ext | |
* https://marketplace.visualstudio.com/items?itemName=YaobinOuyang.CodeAtlas | |
* C/C++(Tested) Python,Java,C#(Not Tested yet) | |
* Other languages that __doxygen__ supports: |
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
<html> | |
<head> | |
<title>Dock layout problem POC</title> | |
<script src="https://code.jquery.com/jquery-1.12.4.js"></script> | |
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> | |
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> | |
<style><html> | |
<head> | |
<title>Dock layout problem POC</title><html> | |
<head> |
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
var http = require('http'); | |
var fs = require('fs'); | |
const { exit } = require('process'); | |
const filename = "./bom.json" | |
function getReadableFileSizeString(fileSizeInBytes) { | |
var i = -1; | |
var byteUnits = [' kB', ' MB', ' GB', ' TB', 'PB', 'EB', 'ZB', 'YB']; | |
do { |
Watch the video version : https://www.youtube.com/watch?v=IzZmIpXgZzo
This guide will let you run multiple WhatsApp-Web instances. Please note:
- Send - every message send will happen as soon as possible
- Read - Your phone will sync with only 1 instance at a time, to get update, you need to trigger it. My choise is to query a message info (any message)
Note: This guide is for educational porpuses only!!! It might break anyday. Use cautionally.
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
// moved to https://github.com/yonixw/nodejs-onefile |
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
cat nginx_logs.txt // (docker logs with timestamps, so first col ($1) is time) | |
| tr -cd '\11\12\15\40-\176' // filter non ascii from bot requests | |
| grep "/202" // get rows with time like Apr/2021 or Jul/2020 | |
| grep 'qp.png' // get rows which will called once per real user | |
| awk '{split($5,a,":"); print a[1] "\t" $2}' // print time of day and ip | |
| uniq -c | |
| sort -rn | |
| awk '{arr[$2]+=1} END {for (i in arr) {print substr(i,2),arr[i]}}' // Group IPs per day |
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
@media screen and (max-width: 800px) { | |
.ant-modal-mask { | |
animation-duration: 0s !important; /* fade */ | |
} | |
.ant-modal-content { | |
height: 100%; | |
} | |
.ant-modal { |