One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include "ecc.h" | |
/* Reed-solomon command-line tool by Vitaly "_Vi" Shukela; 2012 */ | |
/* | |
Usage: | |
1. Download http://sourceforge.net/projects/rscode/ |
$string = "BASE 64 STRING"; | |
$decode = strrev('edoced_46esab'); | |
$result = eval(str_replace('eval', 'return', $decode($string))); | |
while (strstr($result, 'eval')) { | |
$result = eval(str_replace('eval', 'return', $result)); | |
} | |
echo("<pre>".$result."</pre>"); |
# Setting date at commit time: | |
GIT_COMMITTER_DATE="Tue Feb 7 22:47:34 2012 -0800" git commit -m "Ignore stuff" --date "Tue Feb 7 22:47:34 2012 -0800" | |
# Changing date for historical commit: | |
git filter-branch --env-filter 'if [ $GIT_COMMIT = <commit-id> ] | |
then | |
export GIT_AUTHOR_DATE="Tue Feb 7 22:47:34 2012 -0800" | |
export GIT_COMMITTER_DATE="Tue Feb 7 22:47:34 2012 -0800" |
package au.id.alexn; | |
import android.content.Context; | |
import android.util.AttributeSet; | |
import android.util.Log; | |
import android.view.MotionEvent; | |
import android.view.ScaleGestureDetector; | |
import android.view.View; | |
import android.widget.FrameLayout; |
/** | |
* A simple forEach() implementation for Arrays, Objects and NodeLists | |
* @private | |
* @param {Array|Object|NodeList} collection Collection of items to iterate | |
* @param {Function} callback Callback function for each iteration | |
* @param {Array|Object|NodeList} scope Object/NodeList/Array that forEach is iterating over (aka `this`) | |
*/ | |
var forEach = function (collection, callback, scope) { | |
if (Object.prototype.toString.call(collection) === '[object Object]') { | |
for (var prop in collection) { |
#include <stdio.h> | |
#include <assert.h> | |
#include <stdlib.h> | |
#include <errno.h> | |
#include <string.h> | |
#define MAX_DATA 512 | |
#define MAX_ROWS 100 | |
struct Address { |
<?php | |
if (file_exists($_SERVER['SCRIPT_FILENAME'])) { | |
return false; | |
} | |
$_SERVER['DOCUMENT_ROOT'] = empty($_SERVER['DOCUMENT_ROOT']) ? $_SERVER['PWD'] . '/www' : $_SERVER['DOCUMENT_ROOT']; | |
$htaccess = $_SERVER['DOCUMENT_ROOT'] . '/.htaccess'; | |
$rewrites = array(); | |
if (file_exists($htaccess)) { | |
$fp = fopen($htaccess, "r"); |
<?php | |
/* | |
* In configuration file | |
* ... | |
* 'as AccessBehavior' => [ | |
* 'class' => 'app\components\AccessBehavior', | |
* 'allowedRoutes' => [ | |
* '/', | |
* ['/user/registration/register'], |
<?php | |
namespace app\rest; | |
use yii\filters\AccessControl; | |
use yii\filters\auth\CompositeAuth; | |
use app\components\HeaderParamAuth; | |
/** | |
* Description of ActiveController |