Skip to content

Instantly share code, notes, and snippets.

View realhidden's full-sized avatar

Zsombor Paróczi realhidden

  • DONE.
  • Hungary
View GitHub Profile

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@realhidden
realhidden / Linux-Benchmark-|-Linux-Shell-Script.md
Last active June 30, 2019 07:05
This is a Linux Benchmark Script based on [Geekbench v4.2.3](https://www.geekbench.com/) & [Bench.sh](https://bench.sh/).

Linux Benchmark | Linux Shell Script

This is a Linux Benchmark Script based on Geekbench v4.2.3 & Bench.sh.

System Requirements

  • Ubuntu 14.04 LTS or later

Software Dependencies

  • curl
  • wget
@realhidden
realhidden / imap_8bit.php
Created June 2, 2014 06:26
imap_8bit emulator
function quoted_printable_encode($sText,$bEmulate_imap_8bit=true) {
// split text into lines
$aLines=explode(chr(13).chr(10),$sText);
for ($i=0;$i<count($aLines);$i++) {
$sLine =& $aLines[$i];
if (strlen($sLine)===0) continue; // do nothing, if empty
$sRegExp = '/[^\x09\x20\x21-\x3C\x3E-\x7E]/e';
@realhidden
realhidden / icons_and_splash.js
Last active August 29, 2015 13:57 — forked from apla/icons_and_splash.js
Fix for cordova 3.4.0
#!/usr/bin/env node
var cordova_util = require('cordova/src/util');
var config_parser = require('cordova/src/ConfigParser.js');
var projectRoot = cordova_util.isCordova(process.cwd());
var projectXml = cordova_util.projectConfig(projectRoot);
var projectConfig = new config_parser(projectXml);
projectConfig.name();
var fs = require ('fs');
#!/bin/bash
# analyze a given file on its
# dependecies using ldd and write
# the results to a given temporary file
#
# Usage: analyze [OUTPUTFILE] [INPUTFILE]
function analyze
{
local OUT=$1