Skip to content

Instantly share code, notes, and snippets.

aba74fa829c6c186c0ba5bb74ad8acf8723977fc1b21d22d38f2815ff12aab595d4787599c5002f1b90ab5593b44dc2c20b9e79e3117719e4a828e20dad98030

Keybase proof

I hereby claim:

  • I am andrijeski on github.
  • I am sasho (https://keybase.io/sasho) on keybase.
  • I have a public key ASAvN0PvciqLYbHRmr8V32MnYNPiIw6s294qkzT9mH4EuAo

To claim this, I am signing this object:

<!DOCTYPE html>
<html>
<body>
<head><script src="ipcheck.js"></script></head>
<body>
Your network IP is: <h1 id=list>-</h1>
</body>
</html>

List of great vegetables

  • Amaranth or Chinese spinach
  • Artichoke
  • Artichoke hearts
  • Asparagus
  • Baby corn
  • Bamboo shoots
  • Beans (green, wax, Italian)
  • Bean sprouts
<?php
/*** Used this to fix the menu/language issues with Transposh.
* Adding _JAZIK_ to menu custom links will enable getting current language code,
so the menu redirects to proper language URL.
***/
add_filter('wp_nav_menu', 'menu_shortcodes');
function menu_shortcodes( $menu ){
Nom Version License Lien
fuppes 0.660 GPLv2 http://sourceforge.net/projects/fuppes/files/fuppes-0.660.tar.gz
iw 3.2 BSD http://wireless.kernel.org/download/iw/iw-3.2.tar.bz2
rsync 2.6.9 GPLv2 http://ftp.us.xemacs.org/pub/mirrors/rsync/src/rsync-2.6.9.tar.gz
libalsa 1.0.24.1 LGPL ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.24.1.tar.bz2
ppp 2.4.5 GPLv2 http://samba.org/ftp/ppp/ppp-2.4.5.tar.gz
libiconv 1.11 LGPL http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.11.tar.gz
libgcrypt 1.4.6 LGPL ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.4.6.tar.bz2
expat 2.0.1 BSD http://sourceforge.net/projects/expat/files/expat-2.0.1.tar.gz
e2fsprogs 1.41.11 GPLv2 http://freefr.dl.sourceforge.net/project/e2fsprogs/e2fsprogs/1.41.11/e2fsprogs-1.41.11.tar.gz
C:\Users\Sasho>howdoi php check value in an array
Nothing will be faster than a simple loop. You can mix-and-match some array functions to do it, but they'll ju
st be implemented as a loop too.
function whatever($array, $key, $val) {
foreach ($array as $item)
if (isset($item[$key]) && $item[$key] == $val)
return true;
return false;
}
make -C out BUILDTYPE=Release V=1
make[1]: Entering directory `/root/nodejs/node/out'
g++ '-DENABLE_DEBUGGER_SUPPORT' '-DV8_TARGET_ARCH_IA32' -I../deps/v8/src -Wall -Wextra -Wno-unused-parameter -pthread -m32 -fno-strict-aliasing -m32 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /root/nodejs/node/out/Release/.deps//root/nodejs/node/out/Release/obj.target/v8_base/deps/v8/src/api.o.d.raw -c -o /root/nodejs/node/out/Release/obj.target/v8_base/deps/v8/src/api.o ../deps/v8/src/api.cc
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
make[1]: *** [/root/nodejs/node/out/Release/obj.target/v8_base/deps/v8/src/api.o] Error 1
make[1]: Leaving directory `/root/nodejs/node/out'
make: *** [node] Error 2
@andrijeski
andrijeski / food.md
Last active December 10, 2015 21:08 — forked from spion/food.md

This article contains some basic condensed knowledge about food. (Forked, so it can be adapted for a vegetarian diet too)

Basic metabolism mechanics

Water

Water - your metabolism needs it. Have a full hand-held bottle nearby at all times. Drink liberally - most estimates of recommended amount fall between 3-5 liters per day (a lot more than what you will usually drink).

Infact, forget all other drinks, especially soft drinks and artificial juices. Most of them are sugary and will become fat minutes after you drink them. Replace them all with water.

@andrijeski
andrijeski / ecchi.sql
Created June 18, 2012 04:19 — forked from georgestephanis/ecchi.sql
sql for ecchi
UPDATE `wp_term_taxonomy`
SET `parent` = '1013'
WHERE `parent` = '0'
AND `taxonomy` = 'category'
AND `term_id` != '1013'