Skip to content

Instantly share code, notes, and snippets.

Index: src/Three20UICommon/Three20UICommon.xcodeproj/project.pbxproj
===================================================================
--- src/Three20UICommon/Three20UICommon.xcodeproj/project.pbxproj (revision 1193)
+++ src/Three20UICommon/Three20UICommon.xcodeproj/project.pbxproj (working copy)
@@ -492,13 +492,13 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 6E64543D1184BE1B00F08CB1 /* Project.xcconfig */;
buildSettings = {
- ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+ ARCHS = "$(ARCHS_UNIVERSAL_IPHONE_OS)";
Index: src/Three20UICommon/Sources/UIViewControllerAdditions.m
===================================================================
--- src/Three20UICommon/Sources/UIViewControllerAdditions.m (revision 1193)
+++ src/Three20UICommon/Sources/UIViewControllerAdditions.m (working copy)
@@ -294,10 +294,14 @@
///////////////////////////////////////////////////////////////////////////////////////////////////
- (void)showBars:(BOOL)show animated:(BOOL)animated {
#if __IPHONE_3_2 && __IPHONE_3_2 <= __IPHONE_OS_VERSION_MAX_ALLOWED
- [[UIApplication sharedApplication] setStatusBarHidden:!show withAnimation:animated];
-#else
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright © 2010 Jean Regisser
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
@jeanregisser
jeanregisser / unretiner
Created June 28, 2012 12:46
Resize all Retina @2x images in this directory to their half-resolution counterparts with ImageMagick
#!/bin/bash
RETINA_IMAGES=`find . -name "*@2x*.png"`
for retina_path in $RETINA_IMAGES
do
target_path="${retina_path/@2x/}"
convert -resize 50% $retina_path $target_path
echo "Converted ${retina_path} to ${target_path}"
done
@jeanregisser
jeanregisser / SampleLanding.js
Created July 10, 2015 15:57
Sample landing animations using react-native 0.8.0-rc new animation system
/* @flow */
'use strict';
import React, { Animated, StatusBarIOS, StyleSheet, View, Text, TouchableOpacity, } from 'react-native';
class Button extends React.Component {
constructor(props) {
super(props);
this.state = {pop: new Animated.Value(1)};
}

Keybase proof

I hereby claim:

  • I am jeanregisser on github.
  • I am jeanregisser (https://keybase.io/jeanregisser) on keybase.
  • I have a public key ASB8PnFpT9w2276hE5oQnN6f5I340zQii75o6QaXuOwN5wo

To claim this, I am signing this object:

@jeanregisser
jeanregisser / celo-stake-off.md
Last active November 26, 2019 16:49
Celo Mini Stake Off

CELO_VALIDATOR_GROUP_ADDRESS=3f14a1cbaa2c168ee5439feec9a17dbdc9219d5f CELO_VALIDATOR_ADDRESS=a0081d20cbb814a4742b490c3b90ee56c51b76dc

@jeanregisser
jeanregisser / report.html
Created February 11, 2020 15:09
victory-native duplicated victory-core in final app bundle
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="data:text/css;base64,LyogVmVuZG9yZWQgZnJvbSBodHRwczovL2dpdGh1Yi5jb20vcm1taC93ZWJ0cmVlbWFwL2Jsb2IvOWZhMGMwNjZhMTBlYTQ0MDJkOTYwYjBjNmMxYTQzMjg0NmFjN2ZjNC93ZWJ0cmVlbWFwLmNzcyAqLwoKLndlYnRyZWVtYXAtbm9kZSB7CiAgLyogUmVxdWlyZWQgYXR0cmlidXRlcy4gKi8KICBwb3NpdGlvbjogYWJzb2x1dGU7CiAgb3ZlcmZsb3c6IGhpZGRlbjsgICAvKiBUbyBoaWRlIG92ZXJsb25nIGNhcHRpb25zLiAqLwogIGJhY2tncm91bmQ6IHdoaXRlOyAgLyogTm9kZXMgbXVzdCBiZSBvcGFxdWUgZm9yIHpJbmRleCBsYXllcmluZy4gKi8KICBib3JkZXI6IHNvbGlkIDFweCBibGFjazsgIC8qIENhbGN1bGF0aW9ucyBhc3N1bWUgMXB4IGJvcmRlci4gKi8KCiAgLyogT3B0aW9uYWw6IENTUyBhbmltYXRpb24uICovCiAgdHJhbnNpdGlvbjogdG9wICAgIDAuM3MsCiAgICAgICAgICAgICAgbGVmdCAgIDAuM3MsCiAgICAgICAgICAgICAgd2lkdGggIDAuM3MsCiAgICAgICAgICAgICAgaGVpZ2h0IDAuM3M7Cn0KCi8qIE9wdGlvbmFsOiBoaWdobGlnaHQgbm9kZXMgb24gbW91c2VvdmVyLiAqLwoud2VidHJlZW1hcC1ub2RlOmhvdmVyIHsKICBiYWNrZ3JvdW5kOiAjZWVlOwp9CgovKiBPcHRpb25hbDogRGlmZmVyZW50IGJhY2tncm91bmQgY29sb3JzIGRlcGVuZGluZyBvbiBzeW1ib2wuICo
@jeanregisser
jeanregisser / victory-native-report.html
Last active February 11, 2020 15:12
victory-native duplicated victory-core in final app bundle
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="data:text/css;base64,LyogVmVuZG9yZWQgZnJvbSBodHRwczovL2dpdGh1Yi5jb20vcm1taC93ZWJ0cmVlbWFwL2Jsb2IvOWZhMGMwNjZhMTBlYTQ0MDJkOTYwYjBjNmMxYTQzMjg0NmFjN2ZjNC93ZWJ0cmVlbWFwLmNzcyAqLwoKLndlYnRyZWVtYXAtbm9kZSB7CiAgLyogUmVxdWlyZWQgYXR0cmlidXRlcy4gKi8KICBwb3NpdGlvbjogYWJzb2x1dGU7CiAgb3ZlcmZsb3c6IGhpZGRlbjsgICAvKiBUbyBoaWRlIG92ZXJsb25nIGNhcHRpb25zLiAqLwogIGJhY2tncm91bmQ6IHdoaXRlOyAgLyogTm9kZXMgbXVzdCBiZSBvcGFxdWUgZm9yIHpJbmRleCBsYXllcmluZy4gKi8KICBib3JkZXI6IHNvbGlkIDFweCBibGFjazsgIC8qIENhbGN1bGF0aW9ucyBhc3N1bWUgMXB4IGJvcmRlci4gKi8KCiAgLyogT3B0aW9uYWw6IENTUyBhbmltYXRpb24uICovCiAgdHJhbnNpdGlvbjogdG9wICAgIDAuM3MsCiAgICAgICAgICAgICAgbGVmdCAgIDAuM3MsCiAgICAgICAgICAgICAgd2lkdGggIDAuM3MsCiAgICAgICAgICAgICAgaGVpZ2h0IDAuM3M7Cn0KCi8qIE9wdGlvbmFsOiBoaWdobGlnaHQgbm9kZXMgb24gbW91c2VvdmVyLiAqLwoud2VidHJlZW1hcC1ub2RlOmhvdmVyIHsKICBiYWNrZ3JvdW5kOiAjZWVlOwp9CgovKiBPcHRpb25hbDogRGlmZmVyZW50IGJhY2tncm91bmQgY29sb3JzIGRlcGVuZGluZyBvbiBzeW1ib2wuICo
@jeanregisser
jeanregisser / Links.md
Last active April 26, 2023 14:22
How to integrate with Valora - Links