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 Adminer Tweak | |
// @description simple dashboard tweak for adminer.php (database management) | |
// @version 2019.10.16 | |
// @namespace https://gist.github.com/anovsiradj/fb4254d6fb6eb6f8bc08d3686482aaec | |
// @run-at document-end | |
// @match http://localhost/adminer.php* | |
// @match http://localhost/adminer*.php* | |
// @author anovsiradj (mayendra costanov) | |
// @iconURL https://www.adminer.org/favicon.ico |
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 | |
# toggle touch pad | |
device=`xinput list --name-only | grep -i touchpad` | |
isOn=`xinput list-props "$device" | grep -i enabled | tail -c 2` | |
iconEnabled='input-touchpad-symbolic' | |
iconDisabled='touchpad-disabled-symbolic' | |
case "$isOn" in | |
0) |
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
// fpc~3 // | |
program HelloWorld; | |
uses RegExpr; | |
var rgx_1,rgx_2,str_1 :string; | |
var rst :string; | |
begin | |
rgx_1 := '[^0-9]+'; |
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
<!-- https://ne-a-r.blogspot.com/ --> | |
<!-- padding/margin kelipatan 2 dan 5 (0 sampai 100)--> | |
<style> | |
<b:loop index='i' values='0 to 100' var='n'> | |
<b:if cond='data:n%5 == 0 OR data:n%2 == 0'> | |
.pd-<data:n/>{padding:<data:n/>px !important;} | |
.pd-t-<data:n/>{padding-top:<data:n/>px !important;} | |
.pd-b-<data:n/> {padding-bottom:<data:n/>px !important;} | |
.pd-l-<data:n/>{padding-left:<data:n/>px !important;} | |
.pd-r-<data:n/>{padding-right:<data:n/>px !important;} |
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
if(/.co.id/.test(window.location.hostname)) window.location.replace(window.location.href.replace('.co.id','.com/ncr')); |
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
{ | |
"arrowScroll": "1", | |
"fastScroll": "1", | |
"analyticsConsent": "1", | |
"autoInstall": "1", | |
"docs": "apache_http_server/css/html/http/javascript/jquery/jqueryui/less~4/mariadb/node/php/sqlite/dom/wordpress", | |
"spaceScroll": "0" | |
} |
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 StackOverflow: Content First | |
// @description remove unused html elements on stackoverflow. | |
// @namespace https://gist.github.com/anovsiradj | |
// @version 2018.06.29 | |
// @author Mayendra Costanov (anovsiradj) | |
// @include *://stackoverflow.com/questions/* | |
// @run-at document-end | |
// @grant none | |
// ==/UserScript== |
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
/* | |
using OS fonts. | |
order, each vendor, new to old. | |
apple, | |
linux, | |
android, | |
windows | |
default. | |
*/ |
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
.looper(@class, @property, @unit: px, @min: 0, @max: 10, @step: 1) { | |
.loop(@i) when (@i <= @max) { | |
@cls: e(replace(@class, '\*', @i, 'g')); | |
@{cls} { | |
@{property}: unit(@i, @unit); | |
} | |
.loop(@i + @step); | |
} | |
.loop(@min); | |
} |
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
{ | |
"vars": { | |
"@gray-base": "#000", | |
"@gray-darker": "lighten(@gray-base, 13.5%)", | |
"@gray-dark": "lighten(@gray-base, 20%)", | |
"@gray": "lighten(@gray-base, 33.5%)", | |
"@gray-light": "lighten(@gray-base, 46.7%)", | |
"@gray-lighter": "lighten(@gray-base, 93.5%)", | |
"@brand-primary": "darken(#428bca, 6.5%)", | |
"@brand-success": "#5cb85c", |