This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Fully native C++ WinRT application example | |
// Programmed by fincs | |
// | |
#include <windows.h> | |
#include <roapi.h> | |
#include <wchar.h> | |
#include <stdio.h> | |
#include <stdlib.h> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo defaults write /Library/Preferences/com.apple.windowserver DisplayResolutionEnabled -bool YES; | |
sudo defaults delete /Library/Preferences/com.apple.windowserver DisplayResolutionDisabled; | |
// by the way, you need to logout and log back in for this to take effect. Or at least that's what | |
// Quartz Debug says. Who knows, maybe it's lying? | |
// P.S. Go to [Apple menu --> System Preferences --> Displays --> Display --> Scaled] after logging | |
// back in, and you'll see a bunch of "HiDPI" resolutions in the list to choose from. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Mobile/Illum VertexLit" { | |
Properties { | |
_MainTex ("Base (RGB)", 2D) = "white" {} | |
_Illum ("Illum (RGB)", 2D) = "black" {} | |
} | |
SubShader { | |
Tags { "RenderType"="Opaque" } | |
LOD 80 | |
Pass { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// HWKViewController.m | |
// HardwareKeyboardUI | |
// | |
// Created by Steven Troughton-Smith on 13/11/2013. | |
// Copyright (c) 2013 High Caffeine Content. All rights reserved. | |
// | |
#import "HWKViewController.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
operator postfix ‽ {} | |
@postfix func ‽<T>(value: T?) -> T? { | |
return (arc4random_uniform(2) == 1) ? value : nil | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# IMPORTANT SETUP INSTRUCTIONS: | |
# | |
# 1. Go to http://www.dropbox.com/developers/apps (log in if necessary) | |
# 2. Select "Create App" | |
# 3. Select the following settings: | |
# * "Dropbox API app" | |
# * "Files and datastores" | |
# * "(No) My app needs access to files already on Dropbox" | |
# * "All file types" | |
# * (Choose any app name) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local flags = {"tank", "dps", "healer", "heroic", "deadly", "important", "interruptible", "magic", "curse", "poison", "disease", "enrage", "enrage"} | |
local EJ_DIFF_N = 1 | |
local EJ_DIFF_HC = 2 | |
local EJ_DIFF_10 = 3 | |
local EJ_DIFF_25 = 4 | |
local EJ_DIFF_10HC = 5 | |
local EJ_DIFF_25HC = 6 | |
local EJ_DIFF_LFR = 7 | |
local EJ_DIFF_CHA = 8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
tail -f $(ls -t "$HOME/Library/Logs/CoreSimulator/"*/system.log | head -1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# note these instructions are as of Dec 28, 2015 | |
# the vlc and vlckit repos are super complex and have thousands of dependencies from everywhere on the internet. | |
# so, you'll need to mess with things a bit | |
git clone http://code.videolan.org/videolan/VLCKit.git | |
cd VLCKit | |
./buildMobileVLCKit.sh -t |
OlderNewer