Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
#
# Originally part of vpnc source code:
# © 2005-2012 Maurice Massar, Jörg Mayer, Antonio Borneo et al.
# © 2009-2012 David Woodhouse <[email protected]>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
// ********************
// /meals/meal/unset_favorite
// ********************
// <=
[
"user_ID",
"meal_ID"
]
// =>
[]
#!/bin/bash
# Copyright 2012 Lucas Andres Farre
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
<useragentswitcher>
<folder description="Browsers - Windows">
<folder description="Legacy Browsers">
<useragent description="Arora 0.6.0 - (Vista)" useragent="Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/527 (KHTML, like Gecko, Safari/419.3) Arora/0.6 (Change: )" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub=""/>
<useragent description="Avant Browser 1.2" useragent="Avant Browser/1.2.789rel1 (http://www.avantbrowser.com)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub=""/>
<useragent description="Chrome 4.0.249.0 (Win 7)" useragent="Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.0 Safari/532.5" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub=""/>
<useragent description="Chrome 5.0.310.0 (Server 2003)" useragent="Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.310.0 Safari/532.9" appcodename="" appname=""
@chesster
chesster / vim_zoom_restore.vim
Last active August 29, 2015 14:09
Vim: Zoom / Restore window
" Zoom / Restore window.
function! s:ZoomToggle() abort
if exists('t:zoomed') && t:zoomed
execute t:zoom_winrestcmd
let t:zoomed = 0
else
let t:zoom_winrestcmd = winrestcmd()
resize
vertical resize
let t:zoomed = 1
update users_subscriptions_payments set payment_id=99999 where subscription_id=_SUB_ID;
diff --git a/.gitignore b/.gitignore
index b8746ec..6dc9d1e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
ses_tmp/*
+vendor/*
+config/bootstrap.local.php
diff --git a/config/SiteController.class.php b/config/SiteController.class.php
index 6e28759..a2a8a34 100644
diff --git a/.gitignore b/.gitignore
index b1663e0..0447dea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,6 @@ data/*
www/data/*
www/tmp/*
ses_tmp/*
-config/bootstrap.local.*
+config/bootstrap.local.php
mysql> select * from RABC_verification ;
+---------+----------------------------------+
| user_id | verification_hash |
+---------+----------------------------------+
| 599 | 03a6a7f36836d76cc08a57d029d51cb1 |
| 600 | 901ecb810f9c6d1f0f94a9d274150bf3 |
| 601 | e2bb61d1a334439d905906f2bc04e4fc |
| 612 | a9e761f26dc2d266bd8dccab7961a4f9 |
| 626 | ab4d2c9d9cee44dbbd5eae6df4f3bc5e |
| 689 | d7fed5472828e93f2410fa1157de6f00 |
[
{
"city": "Amsterdam",
"gender" : "Male",
"height" : "156",
"weight": "",
"goal": "",
"body_type": "",
"activity_level": "",
"alergies": [