Skip to content

Instantly share code, notes, and snippets.

View VeeeneX's full-sized avatar
🥒
Pickleee Riiick

Daniel Plakinger VeeeneX

🥒
Pickleee Riiick
View GitHub Profile
<?php
// +----------------------------------------------------------------------+
// | Copyright (c) 2010 DasLampe <daslampe@lano-crew.org> |
// | Encoding: UTF-8 |
// +----------------------------------------------------------------------+
class IMAP
{
var $sock;
var $host;
var $port;
@VeeeneX
VeeeneX / index.php
Created January 20, 2016 14:43
How to do it properly.
<?php
$sql = "SELECT doctorid, FIRST_NAME,LAST_NAME, Address, Qualification, Specialization, Consultation_Fee, Experience,image_path from t_doctorprofile";
$results = mysqli_query($db,$sql) or die('MySQL Error');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
@VeeeneX
VeeeneX / JSON
Last active August 18, 2016 10:59
{
"commit": "%H",
"abbreviated_commit": "%h",
"tree": "%T",
"abbreviated_tree": "%t",
"parent": "%P",
"abbreviated_parent": "%p",
"refs": "%D",
"encoding": "%e",
"subject": "%s",
@VeeeneX
VeeeneX / os.py
Last active August 18, 2016 14:50
Sh (Subprocess) vs Os
import os
# Executed with output:
# Already on 'develop'
# Your branch is up-to-date with 'origin/develop'.
os.system('git --git-dir /tmp/app/.git --no-pager checkout -f develop')
# Git status returns:
# On branch develop
# Your branch is up-to-date with 'origin/develop'.

Keybase proof

I hereby claim:

  • I am veeenex on github.
  • I am veeenex (https://keybase.io/veeenex) on keybase.
  • I have a public key ASBOeMYoO4fjQekUTarDsWXjUSgXxt9njg0D0jsc33TWOgo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am veeenex on github.
  • I am veeenex (https://keybase.io/veeenex) on keybase.
  • I have a public key ASBOeMYoO4fjQekUTarDsWXjUSgXxt9njg0D0jsc33TWOgo

To claim this, I am signing this object:

4BrL51JCc9NGQ71kWhnYoDRffsDZy7m1HUU7MRU4nUMXAHNFBEJhkTZV9HdaL4gfuNBxLPc3BeMkLGaPbF5vWtANQnur27c6ik5Pvh4Ygj
@VeeeneX
VeeeneX / learn_greek_letters.py
Created October 2, 2018 09:53
Learn greek letters
import random
greek_alphabet = {
# u'\u0391': 'Alpha',
# u'\u0392': 'Beta',
# u'\u0393': 'Gamma',
# u'\u0394': 'Delta',
# u'\u0395': 'Epsilon',
# u'\u0396': 'Zeta',
# u'\u0397': 'Eta',
{"v":"5.1.13","fr":60,"ip":0,"op":300,"w":830,"h":1018,"nm":"ClawMainComp012EXPORT","ddd":0,"assets":[{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":3,"nm":"POS","sr":1,"ks":{"o":{"a":0,"k":0,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[415,410,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":300,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":3,"nm":"RopeEND","parent":1,"sr":1,"ks":{"o":{"a":0,"k":40,"ix":11},"r":{"a":1,"k":[{"t":0,"s":[0],"h":1},{"t":1,"s":[0],"h":1},{"t":2,"s":[0],"h":1},{"t":3,"s":[0],"h":1},{"t":4,"s":[0],"h":1},{"t":5,"s":[0],"h":1},{"t":6,"s":[0],"h":1},{"t":7,"s":[0],"h":1},{"t":8,"s":[0],"h":1},{"t":9,"s":[0],"h":1},{"t":10,"s":[0],"h":1},{"t":11,"s":[0],"h":1},{"t":12,"s":[1.627],"h":1},{"t":13,"s":[3.086],"h":1},{"t":14,"s":[4.395],"h":1},{"t":15,"s":[5.546],"h":1},{"t":16,"s":[6.52],"h":1},{"t":17,"s":[7.288],"h":1},{"t":18,"s":[7.805],"h":1},{"t":19,"s":[8],"h":1},{"t":20,"s":[7.868],"h":1},{"t":21,"s":[7.446],"h":1},{"t":22,"s":[6.687