Skip to content

Instantly share code, notes, and snippets.

IanColdwater / twittermute.txt
Last active Jan 26, 2023
Here are some terms to mute on Twitter to clean your timeline up a bit.
View twittermute.txt
Mute these words in your settings here:
sgup /
Last active Jan 13, 2023
Recommended Routine - Reddit BodyweightFitness
coolbrg / powershell.go
Last active Oct 26, 2022
Playing PowerShell command via Golang
View powershell.go
package main
import (
// PowerShell struct
sandeepraju /
Created Jul 20, 2016
curl command to check the time to first byte
# file:
# curl command to check the time to first byte
# ** usage **
# 1. ./ ""
# 2. seq 10 | xargs -Iz ./ ""
curl -o /dev/null \
-H 'Cache-Control: no-cache' \
-s \
robinvdvleuten / lambda-helloWorld.php
Last active Mar 2, 2022
Invoke sample Lambda function through PHP
View lambda-helloWorld.php
require_once __DIR__.'/vendor/autoload.php';
use Aws\Lambda\LambdaClient;
$client = LambdaClient::factory([
'version' => 'latest',
// The region where you have created your Lambda
'region' => 'eu-west-1',
View alert.js
alert('hello ' + document.location.href);
MaPePeR / TutorialCondom.cs
Created Aug 24, 2013
Mod to first ask before starting the Tutorial
View TutorialCondom.cs
using System;
using ScrollsModLoader.Interfaces;
using UnityEngine;
using Mono.Cecil;
namespace Template.mod
public class MyMod : BaseMod, IOkCancelCallback
nodesocket / bootstrap.flatten.css
Last active Apr 1, 2021
Below are simple styles to "flatten" bootstrap. I didn't go through every control and widget that bootstrap offers, only what was required for, so your milage may vary.
View bootstrap.flatten.css
/* Flatten das boostrap */
.well, .navbar-inner, .popover, .btn, .tooltip, input, select, textarea, pre, .progress, .modal, .add-on, .alert, .table-bordered, .nav>.active>a, .dropdown-menu, .tooltip-inner, .badge, .label, .img-polaroid {
-moz-box-shadow: none !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
-webkit-border-radius: 0px !important;
-moz-border-radius: 0px !important;
border-radius: 0px !important;
border-collapse: collapse !important;
background-image: none !important;
View mgoExample.go
package main
import (
type Person struct {
markusfisch / gist:3136580
Created Jul 18, 2012
Pan and zoom/pinch images with MOAI
View gist:3136580
-- local members
local devWidth, devHeight = 0, 0
local viewport = nil
local layer = nil
local quad = nil
local prop = nil
local imgWidth, imgHeight = 0, 0