Skip to content

Instantly share code, notes, and snippets.

@trickart
trickart / m7wlj.xml
Last active August 7, 2018 13:56
HTL22(m7wlj)向けのResurection Remixのlocal manifest。WIP
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="kbc"
fetch="https://github.com/kbc-developers"
revision="cm-13.0" />
<project name="android_device_htc_m7wlj" path="device/htc/m7wlj" remote="kbc" />
<project name="android_device_htc_m7-common" path="device/htc/m7-common" remote="kbc" />
<project name="android_kernel_htc_msm8960" path="kernel/htc/msm8960" remote="kbc" />
<project name="android_device_htc_msm8960-common" path="device/htc/msm8960-common" remote="kbc" />
@piouc
piouc / ios.md
Last active February 9, 2022 02:14
OSX-Setup

iOS setup

Hello

  • Disable Location Services
  • Passcode Options -> Don't Add Passcode
  • SetUp as New iPad
  • Turn off iClound Drive
  • Turn On Siri Later
  • Don't Send
@DavidWells
DavidWells / reset.css
Last active July 27, 2024 15:56 — forked from karbassi/reset.css
CSS reset. Follow me on the twitters for more tips: https://twitter.com/davidwells
/* http://meyerweb.com/eric/tools/css/reset/
v2.0-modified | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
@davemackintosh
davemackintosh / .htaccess
Last active May 2, 2024 15:52
Working .htaccess for Single Page Apps
<ifModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /index.html [QSA,L]
</ifModule>
@hell0again
hell0again / gist:1f5c9f6f1f84fb1690ec
Created May 8, 2014 17:38
xlsxをunzipしてxmllint formatして再度zipにする
#!/bin/bash
## xlsxをunzipしてxmllint formatして再度zipしても読める事を確認
# FLATTEN2の中身を直接書き換えて最後のzipコマンドを実行してもxlsxとして読める
ORIGINAL=time_sample.xlsx
FLATTEN1=flatten
FLATTEN2=reflatten
REZIP1=flatten.xlsx
REZIP1=reflatten.xlsx
rm -rf ${REZIP1} ${REZIP2} ${FLATTEN1} ${FLATTEN2}