Skip to content

Instantly share code, notes, and snippets.

View digideskio's full-sized avatar

airbender digideskio

View GitHub Profile
@digideskio
digideskio / interviewitems.MD
Created April 29, 2016 07:55 — forked from KWMalik/interviewitems.MD
My answers to over 100 Google interview questions

##Google Interview Questions: Product Marketing Manager

  • Why do you want to join Google? -- Because I want to create tools for others to learn, for free. I didn't have a lot of money when growing up so I didn't get access to the same books, computers and resources that others had which caused money, I want to help ensure that others can learn on the same playing field regardless of their families wealth status or location.
  • What do you know about Google’s product and technology? -- A lot actually, I am a beta tester for numerous products, I use most of the Google tools such as: Search, Gmaill, Drive, Reader, Calendar, G+, YouTube, Web Master Tools, Keyword tools, Analytics etc.
  • If you are Product Manager for Google’s Adwords, how do you plan to market this?
  • What would you say during an AdWords or AdSense product seminar?
  • Who are Google’s competitors, and how does Google compete with them? -- Google competes on numerous fields: --- Search: Baidu, Bing, Duck Duck Go
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 1 column, instead of 3 in line 1.
<lost colors of RGB24 from HSL>
{hr == sr == lr} liner proportional
[512,512,512] 2041468 21638
[640,640,640] 569105 4599
[768,768,768] 111629 765
[896,896,896] 19958 765
[1024,1024,1024] 7504 765
[1152,1152,1152] 2958 765
[1280,1280,1280] 1193 765
[1408,1408,1408] 582 765
@digideskio
digideskio / gist:16bf37be384d37c36fe756b7b1d7cedb
Created May 8, 2016 21:35 — forked from lahwran/gist:e63473d923cf6fbd2643
words that have an abnormally high probability of being pronounceable and englishy, but low probability of being real
encognifie
pego
undlont
chrong
husses
simulatic
humfree
sungressionon
eqloich
seasure
@digideskio
digideskio / books0.md
Created May 8, 2016 21:37 — forked from lahwran/books0.md
Books

tuningmind's book list

tuningmind sent this in an irc pm to me (lahwran), formatted and categorized with tuningmind's permission. Comments in this section written by tuningmind.

  • Your Brain At Work by David Rock
    ^ that one really influenced my thinking a lot
    ^ recommend starting with this one
  • Mindset by Carol Dweck
  • So Good They Can't Ignore You: Why Skills Trump Passion in the Search for Meaningful Work by Cal Newport, one of my all time favorite bloggers
@digideskio
digideskio / createAndUpdateACLRoles.php
Created May 9, 2016 20:41 — forked from sadekbaroudi/createAndUpdateACLRoles.php
SugarCRM 7 - ACL Role create / update deployment script
<?php
define('sugarEntry', true);
require_once('include/entryPoint.php');
require_once('modules/ACLRoles/ACLRole.php');
require_once('modules/ACLActions/actiondefs.php');
// metadata for creates or updates, see all possibilities for 'def' in modules/ACLActions/actiondefs.php
$acl = array(
// Create new role
@digideskio
digideskio / config_si.php
Created May 9, 2016 20:42 — forked from sadekbaroudi/config_si.php
SugarCRM 7 - Silent Installer
<?php
$sugar_config_si = array (
'default_currency_iso4217' => 'USD',
'default_currency_name' => 'US Dollars',
'default_currency_significant_digits' => '2',
'default_currency_symbol' => '$',
'default_date_format' => 'Y-m-d',
'default_decimal_seperator' => '.',
'default_export_charset' => 'ISO-8859-1',
@digideskio
digideskio / tmux_ubuntu14.04.sh
Created May 9, 2016 21:54 — forked from VladSem/tmux_ubuntu14.04.sh
install tmux 2.0 on Ubuntu 14.04
sudo apt-get update
sudo apt-get install -y python-software-properties software-properties-common
sudo add-apt-repository -y ppa:pi-rho/dev
sudo apt-get update
sudo apt-get install -y tmux=2.0-1~ppa1~t
@digideskio
digideskio / FragmentTab1.java
Created May 9, 2016 21:55 — forked from VladSem/FragmentTab1.java
Android, onSaveInstanceState and onActivityCreated in fragments
public class FragmentTab2 extends Fragment {
String msg = "Android : ";
Button buttonON;
TextView showIP1;
TextView showIP2;
@Override
public View onCreateView(LayoutInflater inflater,ViewGroup container,
Bundle savedInstanceState) {
@digideskio
digideskio / gist:36394839d000d906a3d3cb02c4bb1570
Created May 10, 2016 03:51
Backend Ember Routing - Register & Login

Corresponding repository with this commit

For registering a user

I added res.send(200, {user: userInfo}) to return the new user now I cannot register. user id field cannot be saved somehow.

// When registering a user
app.post('/api/users', function(req, res){
var monitor = {
item: Math.floor(Math.random()*227) + 1111,
min: {
value: 0
},
max: {
value: 1337
}
};