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
[ineentho@manjaro bin]$ touch test | |
[ineentho@manjaro bin]$ node test && time node test | |
real 0m0.073s | |
user 0m0.070s | |
sys 0m0.000s | |
[ineentho@manjaro bin]$ node-anywhere test && time node-anywhere test | |
real 0m0.545s | |
user 0m0.527s |
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
HTTP/1.1 302 Found | |
Alternate-Protocol: 80:quic,p=1 | |
Cache-Control: private | |
Content-Length: 258 | |
Content-Type: text/html; charset=UTF-8 | |
Date: Thu, 14 May 2015 08:14:39 GMT | |
Location: http://www.google.se/?gfe_rd=cr&ei=b1lUVYSNCYWA8Qec34HwBA | |
Server: GFE/2.0 | |
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8"> |
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
<?php | |
$dbh = new PDO('mysql:host=localhost;dbname=test', 'root', 'sten123'); | |
function create_user($username, $password) { | |
global $dbh; | |
$loginStmt = $dbh->prepare('INSERT INTO users (username, password) VALUES(:username, :password)'); | |
$loginStmt->bindValue(':username', $username); | |
$loginStmt->bindValue(':password', $password); |
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
<?php | |
$dbh = new PDO('mysql:host=localhost;dbname=test', 'root', 'sten123'); | |
function create_user($username, $password) { | |
global $dbh; | |
$loginStmt = $dbh->prepare('INSERT INTO users (username, password) VALUES(:username, :password)'); | |
$loginStmt->bindValue(':username', $username); | |
$loginStmt->bindValue(':password', password_hash($password, PASSWORD_DEFAULT)); |
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
<?php | |
$dbh = new PDO('mysql:host=localhost;dbname=test', 'root', 'sten123'); | |
function create_user($username, $password) { | |
global $dbh; | |
$loginStmt = $dbh->prepare('INSERT INTO users (username, password) VALUES(:username, :password)'); | |
$loginStmt->bindValue(':username', $username); | |
$loginStmt->bindValue(':password', password_hash($password, PASSWORD_DEFAULT)); |
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
<?php | |
$dbh = new PDO('mysql:host=localhost;dbname=test', 'root', 'sten123'); | |
function authenticate($username, $password) { | |
global $dbh; | |
$loginStmt = $dbh->prepare('SELECT password FROM users WHERE username = :username'); | |
$loginStmt->bindValue(':username', $username); | |
$loginStmt->execute(); |
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
package io.opid.network.adapter; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.support.v4.app.Fragment; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.BaseAdapter; | |
import android.widget.Toast; |
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
<?php | |
$dbh = new PDO('mysql:host=julkalender3d.se.mysql;dbname=julkalender3d_s', 'julkalender3d_s', 'amax3Ds'); | |
if (isset($_POST['Field4'])) | |
{ | |
$franvaro=htmlspecialchars($_POST['field106']); | |
if ($_POST['Field106']=="Second Choice") | |
$franvaro="Närvarande"; | |
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
/******************************************************************************* | |
* Copyright 2014-2015, the Biomes O' Plenty Team | |
* | |
* This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Public License. | |
* | |
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/. | |
******************************************************************************/ | |
package biomesoplenty.client.model; |
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/sh | |
# This script is expected to be run from the .minecraft directory. | |
# Go into the saves directory, since everything will based on the world | |
# directories which can be found there | |
cd saves | |
# Obtain an array of all saves | |
saveFiles=(*) |
OlderNewer