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
git push -q -f heroku HEAD:master | |
remote: Compressing source files... done. | |
remote: Building source: | |
remote: | |
remote: -----> Fetching custom git buildpack... done | |
remote: -----> Haskell app detected | |
remote: | |
remote: | |
remote: -----> Welcome to Haskell on Heroku | |
remote: BUILDPACK_URL: https://github.com/mietek/haskell-on-heroku |
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 python2 | |
import requests | |
import json | |
from pprint import pprint | |
wp_version = '4.3' | |
plugins = [] | |
print '[+] Checking WordPress version ' + wp_version |
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
#!/bin/bash | |
URL=http://wiki.qemu-project.org/download/ | |
latest_qemu=$(curl --silent $URL | grep -oP "\bqemu-[0-9.]+\.tar\.bz2\b" | sort | uniq | tail -n 1) | |
basename=$(basename $latest_qemu .tar.bz2) | |
if [[ ! -d $basename ]]; then | |
echo "[+] Downloading latest QEMU: $latest_qemu" | |
wget $URL/$latest_qemu |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <malloc.h> | |
int main() { | |
printf("size of size_t: %zu\n", sizeof(size_t)); | |
int i; | |
for (i = 0; i < 10; i++) { | |
size_t size = i * 8; | |
void *m = malloc(size); |
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
# Special mode for GDB that allows to debug/disassemble REAL MODE x86 code | |
# | |
# It has been designed to be used with QEMU or BOCHS gdb-stub | |
# | |
# 08/2011 Hugo Mercier - GPL v3 license | |
# | |
# Freely inspired from "A user-friendly gdb configuration file" widely available | |
# on the Internet | |
set confirm off |
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
// Create a new AppScript project (https://script.google.com/home/start) | |
// and schedule this to be run every hour | |
function markMutedAsRead() { | |
var threads = GmailApp.search('is:muted is:unread'); | |
for (var i = 0; i < threads.length; i++) { | |
threads[i].markRead(); | |
} | |
} |
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
Privacy Policy | |
This application does not collect or use any private data. | |
Changes to This Privacy Policy | |
I may update our Privacy Policy from time to time. Thus, you are advised to review this page periodically for any changes. I will notify you of any changes by posting the new Privacy Policy on this page. | |
This policy is effective as of 2024-03-02. |
OlderNewer