We have moved: https://github.com/magnetikonline/linuxmicrosoftievirtualmachines
Due to the popularity of this Gist, and the work in keeping it updated via a Gist, all future updates will take place at the above location. Thanks!
From 7341a316c38a61cc745ce04e618916677007883b Mon Sep 17 00:00:00 2001 | |
From: Timothy Brom <thb@timbrom.com> | |
Date: Wed, 29 Feb 2012 11:29:55 -0500 | |
Subject: [PATCH] Fixed error about strexh and strexb using the same register | |
--- | |
example/libs_stm/inc/core_support/core_cm3.c | 4 ++-- | |
1 files changed, 2 insertions(+), 2 deletions(-) | |
diff --git a/example/libs_stm/inc/core_support/core_cm3.c b/example/libs_stm/inc/core_support/core_cm3.c |
-- show running queries (pre 9.2) | |
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(clock_timestamp(), query_start), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
# Configuration file for runtime kernel parameters. | |
# See sysctl.conf(5) for more information. | |
# See also http://www.nateware.com/linux-network-tuning-for-2013.html for | |
# an explanation about some of these parameters, and instructions for | |
# a few other tweaks outside this file. | |
# | |
# See also: https://gist.github.com/kgriffs/4027835 | |
# | |
# Assumes a beefy machine with lots of network bandwidth |
function active-window-id { | |
echo `xprop -root | awk '/_NET_ACTIVE_WINDOW\(WINDOW\)/{print $NF}'` | |
} | |
# end and compare timer, notify-send if needed | |
function notifyosd-precmd() { | |
if [ ! -z "$cmd" ]; then | |
cmd_end=`date +%s` | |
((cmd_time=$cmd_end - $cmd_start)) | |
fi |
We have moved: https://github.com/magnetikonline/linuxmicrosoftievirtualmachines
Due to the popularity of this Gist, and the work in keeping it updated via a Gist, all future updates will take place at the above location. Thanks!
server { | |
root /path/to/app/public; | |
index index.php; | |
server_name test.dev; | |
set $cors_headers "whatever-custom-headers,you-would-like"; | |
# redirection to index.php | |
location / { | |
try_files $uri $uri/ /index.php?$query_string; |
#!/usr/bin/env python | |
import zipfile | |
tempdirlin='/home/user/sattemp' | |
tempdirwine='D:\\' | |
converterbin="/windows/Programme/Program Files (x86)/DesignSpark/DesignSpark Mechanical 1.0/sabSatConverter.exe" | |
# add freecad libdir to path | |
import sys | |
sys.path.insert(0,'/usr/local/freecad/lib') |
// Size 4-40 | |
screwDiameter = 2.8; | |
screwHeadDiameter = 5.5; | |
screwHeadHeight = 2.3; | |
insertDiameter = 4; | |
insertThreadedDiameter = 4.45; | |
insertHeight = 3.5; | |
standardPotShaftTopHeight = 8; | |
standardPotShaftTopDiameter = 6; |
$ curl --dump-header - localhost:12345 | |
HTTP/1.0 404 Not Found | |
Content-Type: text/html | |
Content-Length: 43 | |
Date: Fri, 05 Dec 2014 17:48:56 +0000 | |
<html> | |
<body> | |
<h1>WUT</h1> | |
</html> |