- Create a new directory;
mkdir Apple\ Enterprise
cd Apple\ Enterprise
- Generate a certificate signing request
openssl req -nodes -newkey rsa:2048 -keyout ios_enterprise.key -out CertificateSigningRequest.certSigningRequest
-- 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%' |
import ctypes | |
import sys | |
import os | |
import errno | |
FUNC = ctypes.CFUNCTYPE(None) | |
PROT_NONE = 0 | |
PROT_READ = 1 | |
PROT_WRITE = 2 |
mkdir Apple\ Enterprise
cd Apple\ Enterprise
openssl req -nodes -newkey rsa:2048 -keyout ios_enterprise.key -out CertificateSigningRequest.certSigningRequest
import luxe.Component; | |
import luxe.Input; | |
import luxe.Parcel; | |
import luxe.ParcelProgress; | |
import luxe.Rectangle; | |
import luxe.Sprite; | |
import luxe.Color; | |
import luxe.tween.easing.*; | |
import luxe.Text; |
package; | |
import haxe.io.Bytes; | |
import lime.utils.UInt8Array; | |
import lime.graphics.Image; | |
import lime.graphics.ImageBuffer; | |
import openfl.Assets.AssetLibrary; | |
import openfl.Assets; | |
import openfl.Lib; | |
import openfl.utils.ByteArray; |
{ | |
/* | |
KHA/HAXE SNIPPETS | |
Lewis Lepton | |
https://lewislepton.com | |
*/ | |
"new function": { | |
"prefix": "function", | |
"body": [ | |
"public function ${NAME}(){", |
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" |