Skip to content

Instantly share code, notes, and snippets.

View godwhoa's full-sized avatar
🙃
no time

Joseph Daniel godwhoa

🙃
no time
  • India
  • 23:46 (UTC +05:30)
View GitHub Profile
@godwhoa
godwhoa / cop
Last active November 17, 2015 00:21
copy and paste files when using separate shells
#!/usr/bin/python
import sys,os
clip = os.environ['HOME']+'/.fileclip'
path = sys.argv[1]
f=open(clip,'w')
f.write(os.getcwd()+'/'+path)
f.close()
@godwhoa
godwhoa / CMakeLists.txt
Last active August 30, 2015 19:57
Getting YouCompleteMe working on 32bit linux
# Copyright (C) 2011, 2012 Google Inc.
#
# This file is part of YouCompleteMe.
#
# YouCompleteMe 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 3 of the License, or
# (at your option) any later version.
#
# YouCompleteMe is distributed in the hope that it will be useful,
@godwhoa
godwhoa / flip.py
Created March 7, 2015 05:52
table flip kill linux
#!/usr/bin/python
# -*- coding: utf-8 -*-
import upsidedown
import sys
import os
updown = upsidedown.transform(sys.argv[1])
print u"(ノಠ益ಠ)ノ彡 "+updown
os.system("pkill "+sys.argv[1])
@godwhoa
godwhoa / designer.html
Created November 15, 2014 07:58
designer
<link rel="import" href="../cool-clock/cool-clock.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
print "It works. :3 "