This file contains 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
diff -Naur a/linux/control.c b/linux/control.c | |
--- a/linux/control.c 2013-10-03 04:29:47.471339204 -0400 | |
+++ b/linux/control.c 2013-10-03 04:31:56.607334636 -0400 | |
@@ -283,7 +283,7 @@ | |
int i; | |
int retval; | |
- name = getname(buf); | |
+ name = (char*)getname(buf)->name; | |
if (IS_ERR(name)) { |
This file contains 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
# Maintainer: Krisan Alfa Timur <krisan47@gmail.com> | |
pkgname=eaccelerator-git | |
pkgver=1.0 | |
pkgrel=2 | |
pkgdesc="A free open-source PHP accelerator, optimizer, and dynamic content cache." | |
arch=('i686' 'x86_64') | |
url="http://eaccelerator.net/" | |
license=('GPL') | |
depends=('php') |
This file contains 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
--- eaccelerator.orig 2013-10-31 16:51:48.000000000 +0700 | |
+++ eaccelerator.c 2013-10-31 16:52:20.000000000 +0700 | |
@@ -63,7 +63,7 @@ | |
#include "php.h" | |
#include "php_ini.h" | |
-#include "php_logos.h" | |
+/*#include "php_logos.h"*/ | |
#include "main/fopen_wrappers.h" | |
#include "ext/standard/info.h" |
This file contains 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 <cstdlib> | |
#include <iostream> | |
using namespace std; | |
// Declare global variable here | |
string defaults[6] = { "Annisa", "Isyana", "Hifni", "Riska", "Alfa", "Omega" }; // Default array | |
int arrSize = sizeof(defaults) / sizeof(*defaults); // Ukuran array | |
float batasLulus = 6.5; // Batas lulusnya berapa? Kalo lebih dari ini, maka dinyatakan lulus |
This file contains 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 bash | |
# File name: GitPostToTwitter | |
# Author: Krisan Alfa Timur | |
command -v twidge > /dev/null | |
if [[ -d .git ]]; then | |
if [[ $? -eq 0 ]]; then | |
read_git_hub=$(cat .git/config | grep github); | |
if [[ $read_git_hub == "" ]]; then |
This file contains 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
Show hidden characters
{ | |
"caret_style": "phase", | |
"draw_white_space": "none", | |
"ensure_newline_at_eof_on_save": true, | |
"font_face": "Ubuntu Mono", | |
"font_size": 17, | |
"highlight_line": true, | |
"ignored_packages": | |
[ | |
"Vintage" |
This file contains 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 | |
# Variable | |
arch=$(uname -m) | |
url32="http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.1.tar.bz2" | |
url64="http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.1%20x64.tar.bz2" | |
extractOutput= | |
# Function | |
cin() { |
This file contains 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 bash | |
latest=$(curl https://www.kernel.org/ -s | sed -n "/<td id=\"latest_link\">/,/<\/td>/p" | sed -n -e 's/.*<a.*>\(.*\)<\/a>.*/\1/p'); | |
yours=$(uname -r | sed 's/-.*$//g'); | |
if [[ $latest == "" ]]; then | |
echo "Please connect to internet" | |
else | |
if [[ $latest == $yours ]]; then | |
echo "You are updated!" |
This file contains 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
<snippet> | |
<content><![CDATA[ | |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]--> | |
<!--[if gt IE 8]> <html class="no-js" lang="en"> <![endif]--> | |
<html> | |
<head> |