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
{ | |
"userProfile": { | |
"personalInfo": { | |
"id": "usr123456", | |
"firstName": "John", | |
"lastName": "Doe", | |
"email": "[email protected]", | |
"phoneNumber": "+1-555-123-4567", | |
"dateOfBirth": "1990-01-15", | |
"gender": "male" |
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://forum.qt.io/topic/109779/windeployqt-exe-comes-with-qt-5-14-not-copy-the-dlls-to-the-app-directory/6 |
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
cp src/vangers.exe dist | |
cp /c/prefix/vangers/bin/zlib1.dll dist | |
cp /c/prefix/vangers/bin/avformat-57.dll dist | |
cp /c/prefix/vangers/bin/avcodec-57.dll dist | |
cp /c/prefix/vangers/bin/avutil-55.dll dist | |
cp /c/prefix/vangers/bin/swresample-2.dll dist |
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 System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Threading; | |
namespace MemEater | |
{ | |
static class MainClass | |
{ | |
private static readonly Random Random = new Random(); |
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 System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
namespace MemEater | |
{ | |
static class MainClass | |
{ | |
private const Int64 Kilobyte = 1024; |
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 System; | |
using System.Collections.Generic; | |
namespace envvartest | |
{ | |
internal static class EnvPrinter | |
{ | |
public static void Main(string[] args) | |
{ | |
var varName = args[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
from os.path import exists | |
configfile: 'config.yml' | |
BOWTIE2_BIN = config['bowtie2.bin'] | |
BOWTIE2_INDEX = config['bowtie2.index'] | |
BOWTIE2_THREADS = config['bowtie2.threads'] | |
SAMTOOLS_BIN = config['samtools.bin'] | |
GENOME_COVERAGE_BIN = config['genome_coverage.bin'] |
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
import struct | |
import math | |
def bytes_to_double(data): | |
return struct.unpack('d', data)[0] | |
def double_to_bytes(data): | |
return struct.pack('d', data) |
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
#!/usr/bin/env python | |
# Reflects the requests from HTTP methods GET, POST, PUT, and DELETE | |
# Written by Nathan Hamiel (2010) | |
from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler | |
from optparse import OptionParser | |
import sys | |
def pr(msg): | |
sys.stderr.write(str(msg)) |
NewerOlder