Did you ever wish you could repeat the last edit an arbitrary number of times without mashing the .
key?
Well now you can.
......
<?php | |
function odin_get_first_image() { | |
$attachment = get_children( | |
array( | |
'post_parent' => get_the_ID(), | |
'post_type' => 'attachment', | |
'post_mime_type' => 'image', | |
'order' => 'DESC', | |
'numberposts' => 1, | |
) |
puts("أهلًا يا عالم!"); |
// C++ includes used for precompiling -*- C++ -*- | |
// Copyright (C) 2003-2013 Free Software Foundation, Inc. | |
// | |
// This file is part of the GNU ISO C++ Library. This library is free | |
// software; you can redistribute it and/or modify it under the | |
// terms of the GNU General Public License as published by the | |
// Free Software Foundation; either version 3, or (at your option) | |
// any later version. |
obj-m += lkm_hello1.o | |
KDIR ?= /lib/modules/$(shell uname -r)/build | |
all: | |
make -C $(KDIR) M=$(PWD) modules | |
clean: | |
make -C $(KDIR) M=$(PWD) clean |
/* | |
* BOT for 10fastfingers, automatic typing with adjustable speed | |
* ================================================================ | |
* | |
* bored in my apartment and decided to hack this game: http://indonesian-speedtest.10fastfingers.com/ | |
* just start the game, when you're ready to type, DON'T TYPE ANYTHING, open up | |
* your Developer Tools in Chrome (CTRL+SHIFT+J) and click Console tab, and | |
* then paste the whole code below, then press enter, and enjoy the show. | |
* | |
* twitter.com/kecebongsoft |
#include <linux/module.h> | |
#include <linux/kernel.h> | |
#include <linux/timer.h> | |
#include <linux/jiffies.h> | |
static void mykmod_timer_handler(unsigned long data); | |
static unsigned long onesec; | |
DEFINE_TIMER(mytimer, mykmod_timer_handler, 0, 0); |
#!/bin/bash | |
# Set up a repos.txt file that contains a list of all the repos | |
# one repo per line. Then create an emails.txt file which is where | |
# all the emails will go. It'll be a CSV file so you can verify. | |
# This is a quick hacky way to get emails, not sure if I covered all | |
# valid characters in regex but didn't need precision. Feel free to | |
# make it better! | |
reponame="https://github.com/[a-zA-Z0-9._-]+/([a-zA-Z0-9._-]+)$" | |
email="<([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.\w+)>" |
obj-m += chardev.o | |
all: | |
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules | |
clean: | |
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean |
@echo on | |
echo Bulding bin file... | |
nasm loader.asm -f bin -o loader.bin | |
echo Writing bin file to ploppy | |
partcopy loader.bin 0 200 -f0 |