Skip to content

Instantly share code, notes, and snippets.

View makirby's full-sized avatar
🌴
🔢

merrick kirby makirby

🌴
🔢
View GitHub Profile
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<polymer-element name="my-element">
{
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",
"dictionary": "Packages/Language - English/en_GB.dic",
"font_size": 11,
"material_theme_small_statusbar": true,
"material_theme_small_tab": true,
"ignored_packages": [
"Vintage"
],
"index_exclude_patterns": [
@makirby
makirby / config.ini
Created January 12, 2016 13:30
bug.n ini config
Config_horizontalBarPos=center
Config_barWidth=100%
Config_mouseFollowsFocus=0
Config_readinCpu=1
Config_readinMemoryUsage=1
Config_hotkey=#WheelUp::View_shuffleWindow(0, +1)
Config_hotkey=#WheelDown::View_shuffleWindow(0, -1)
Config_hotkey=#+WheelUp::Manager_setWindowMonitor(0, +1)
Config_hotkey=#+WheelDown::Manager_setWindowMonitor(0, -1)
@makirby
makirby / mobile-cu.md
Last active January 15, 2016 12:23
mobile cu presentation

#Mobile CU

##ui test

-xamarin.UITest

-calacash

-appium

#secure JWT talk

##Security concerns

  • Prevent malicous code from executing in client
  • still be able to provide user access info

###MITM attack solve with

Keybase proof

I hereby claim:

  • I am makirby on github.
  • I am merrick (https://keybase.io/merrick) on keybase.
  • I have a public key ASAdY8Y2o5xAHGa_5xgJMMoy_MjC-4ejcGFCQfW7ot6ujgo

To claim this, I am signing this object:

@makirby
makirby / settings.json
Created April 10, 2017 07:41
VS CODE SETTINGD
// Place your settings in this file to overwrite the default settings
{
"editor.rulers": [
100
],
"editor.tabSize": 2,
"editor.renderIndentGuides": true,
"editor.fontSize": 12,
"editor.wordWrap": "wordWrapColumn",
"workbench.statusBar.visible": true,
@makirby
makirby / cocoa
Created April 18, 2017 08:24
cocoa pods cleanup
rm -rf ~/Library/Caches/CocoaPods; rm -rf Pods; rm -rf ~/Library/Developer/Xcode/DerivedData/*; pod deintegrate; pod setup; pod install;
#!/usr/bin/env bash
# Shell prompt based on the Solarized Dark theme.
# Screenshot: http://i.imgur.com/EkEtphC.png
# Heavily inspired by @necolas’s prompt: https://github.com/necolas/dotfiles
# iTerm → Profiles → Text → use 13pt Monaco with 1.1 vertical spacing.
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then
export TERM='gnome-256color';
elif infocmp xterm-256color >/dev/null 2>&1; then
patch-package
--- a/node_modules/react-native/React/Base/RCTUtils.m
+++ b/node_modules/react-native/React/Base/RCTUtils.m
@@ -714,7 +714,14 @@ UIImage *__nullable RCTImageFromLocalAssetURL(NSURL *imageURL)
} else {
fileData = [NSData dataWithContentsOfURL:imageURL];
}
- image = [UIImage imageWithData:fileData];
+ // Fix Codepush
+ CGFloat scale = 1.0;