Skip to content

Instantly share code, notes, and snippets.

View seksitha's full-sized avatar
🎯
Focusing

Sitha Sek seksitha

🎯
Focusing
View GitHub Profile
@akmeghdad
akmeghdad / workbench.tree.css 1.41.0 (+)
Last active December 20, 2023 12:02
workbench.main.css for VS code
/* ==================== */
/* VScode 1.41.0 AND UP */
/* ==================== */
/* https://gist.github.com/akmeghdad/b1208c2caa601f0ba29f953faabac709 */
/* THANKS OF */
/* https://gist.github.com/samdenty/b96f4df576d05cb123248f8ebfa899b6 */
/* https://gist.github.com/Lightfire228/39dc2cf403237a190e79a000912691b2 */
/* ==> VScode 1.38 + */
/* [WINDOWS] add this code in %USERPROFILE%\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\workbench.desktop.main.css */
/* ==> VScode 1.31 to 1.37 */
@bradtraversy
bradtraversy / docker-help.md
Last active November 25, 2024 13:57
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@bsara
bsara / git-ssh-auth-win-setup.md
Last active December 24, 2024 07:21
Setup SSH Authentication for Git Bash on Windows

Setup SSH Authentication for Git Bash on Windows

Prepararation

  1. Create a folder at the root of your user home folder (Example: C:/Users/uname/) called .ssh.
  2. Create the following files if they do not already exist (paths begin from the root of your user home folder):
  • .ssh/config
@mcxiaoke
mcxiaoke / index.html
Created July 3, 2014 03:53 — forked from davidwkeith/index.html
detect app installed in browser
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>App Redirection</title>
</head>
<body>
<!-- iframe used for attempting to load a custom protocol -->
<iframe style="display:none" height="0" width="0" id="loader"></iframe>
@twesolowski
twesolowski / list_thumbnail_sizes.php
Created April 4, 2014 17:55
Wordpress - get all defined thumbnail sizes
<?php
function list_thumbnail_sizes() {
global $_wp_additional_image_sizes;
$sizes = array();
$rSizes = array();
foreach (get_intermediate_image_sizes() as $s) {
$sizes[$s] = array(0, 0);
if (in_array($s, array('thumbnail', 'medium', 'large'))) {
$sizes[$s][0] = get_option($s . '_size_w');
$sizes[$s][1] = get_option($s . '_size_h');