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
Pod::Spec.new do |s| | |
s.name = "GoogleAnalytics" | |
s.version = "3.14.0" | |
s.summary = "Google Analytics - measure your app performance" | |
s.description = "Google Analytics lets you track application events you care about and gain insights from discovery and installation to conversion and engagement" | |
s.homepage = "https://www.google.com/analytics" | |
s.license = { :type => "Copyright", :text => "Copyright 2015 Google Inc." } | |
s.author = "Google, Inc." | |
s.platform = :ios, "5.0" | |
s.frameworks = ["CoreData", "SystemConfiguration"] |
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
<?php | |
function phone($str) { | |
$AREA_CODES = array("010", "02", "011", "031", "012", "032", "033", "041", | |
"015", "042", "016", "043", "017", "044", "018", "051", | |
"019", "052", "053", "054", "055", "061", "062", "063", | |
"064"); | |
// 하이픈 모두 제거 | |
$flattened = str_replace("-", "", $str); |
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
/* | |
* jquery.loadasync.js | |
* | |
* DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
* Version 2, December 2004 | |
* | |
* Copyright (C) 2013 Su Yeol Jeon | |
* | |
* Everyone is permitted to copy and distribute verbatim or modified | |
* copies of this license document, and changing it is allowed as long |
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 os | |
import re | |
BLUEPRINT = 'blueprint' | |
TARGET_DIR = 'myproject/templates' | |
RECURSIVE = True | |
EXTENSIONS = ['py', 'html', 'htm'] | |
pat = "url_for\('(?![a-z]+\.)(?!static)([a-z_]+)" | |
rep = "url_for('%s.\g<1>" % BLUEPRINT |
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
/// A generic class | |
class Parent<T> { | |
func printName() { | |
print(self.name()) | |
} | |
func name() -> String { | |
return "Parent" | |
} |
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
set si | |
set nu | |
set expandtab | |
set shiftwidth=4 | |
set tabstop=4 | |
syntax enable | |
set background=light | |
colorscheme solarized |
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
// The MIT License (MIT) | |
// | |
// Copyright (c) 2016 Suyeol Jeon (xoul.kr) | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: |
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
(function() { | |
var VERSION = '8' | |
var total = 0; | |
$('#ID-explorer-table-pieTable tr') | |
.each(function(i, tr) { | |
var version = $(tr).find('td:nth-child(3)').text(); | |
if (version.startsWith(VERSION)) { | |
var percentString = $(tr).find('td:nth-child(5)').text(); | |
var percent = Number(percentString.split('%')[0]); | |
total += percent; |
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
// The MIT License (MIT) | |
// | |
// Copyright (c) 2016 Suyeol Jeon (xoul.kr) | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: |