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
//usr/bin/gcc -IX11 -lX11 -Ifontconfig -lfontconfig cfetch.c -o cfetch -Os; exec ./cfetch | |
/*-------------*\ | |
/ | FLEXFETCH | \ | |
\ | 1.0.0.1 | / | |
\*-------------*/ | |
/* | |
CHANGELOG |
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
C:\Users\user\AppData\Local\Android\Sdk\platform-tools>adb shell getprop | |
[dalvik.vm.appimageformat]: [lz4] | |
[dalvik.vm.dex2oat-Xms]: [64m] | |
[dalvik.vm.dex2oat-Xmx]: [512m] | |
[dalvik.vm.dex2oat-max-image-block-size]: [524288] | |
[dalvik.vm.dex2oat-minidebuginfo]: [true] | |
[dalvik.vm.dex2oat-resolve-startup-strings]: [true] | |
[dalvik.vm.dexopt.secondary]: [true] | |
[dalvik.vm.heapgrowthlimit]: [256m] |
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
" Vim syntax file | |
" Language: Todo | |
" Maintainer: Huy Tran | |
" Latest Revision: 14 June 2020 | |
if exists("b:current_syntax") | |
finish | |
endif | |
" Custom conceal |
A Pen by John Riggles on CodePen.
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
#!/bin/sh | |
prog_name=${0##*/} | |
version=1.0 | |
version_text="Boilerplate for new scripts v$version" | |
options="h o: q v V" | |
help_text="Usage: $prog_name [-o <text>] [-hqvV] [<file>]... | |
Boilerplate for new scripts |
module.exports = (image, caption, className) => {
const classMarkup = className ? ` class="${className}"` : '';
const captionMarkup = caption ? `<figcaption>${caption}</figcaption>` : '';
return `<figure${classMarkup}><img src="/img/${image}" />${captionMarkup}</figure>`;
// the line below does all this in one line, but is more confusing:
// return `<figure${className ? ` class="${className}"` : ''}><img src="/img/${image}" />${caption ? `<figcaption>${caption}</figcaption>` : ''}</figure>`;
};
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
#!/bin/sh -e | |
#------------------------------------------------------------------------------------ | |
# Change the GDM background. | |
# based on https://wiki.archlinux.org/index.php/GDM | |
# by https://twitter.com/jeffprod | |
# | |
# If you have dual screens, you should copy your current settings to gdm | |
# so that the image is not reversed right-left : | |
# sudo cp ~/.config/monitors.xml ~gdm/.config |
Note: This gist may be outdated, thanks to all contributors in comments.
adb
is the Android CLI tool with which you can interact with your android device, from your PC
You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.
Don't hesitate to read comments, there is useful tips, thanks guys for this !
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
<span lang="face with tears of joy"> 😂 </span> | |
<span lang="grinning face with smiling eyes"> 😄 </span> | |
<span lang="grinning face with sweat"> 😅 </span> | |
<span lang="face with rolling eyes"> 🙄 </span> | |
<span lang="smirking face"> 😏 </span> | |
<span lang="smiling face with halo"> 😇 </span> | |
<span lang="grinning face"> 😀 </span> | |
<span lang="squinting face with tongue"> 😝 </span> | |
<span lang="grinning face with big eyes"> 😃 </span> | |
<span lang="unamused face"> 😒 </span> |