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
#!/usr/bin/env bash | |
# A git post-receive hook | |
# | |
# On main branch only : | |
# 1. It builds the service via docker compose build | |
# 2. It then restarts the service by bringing it down and up again (full service reboot) | |
# Also removes old containers. | |
# |
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
#!/usr/bin/env ruby | |
require 'watir-webdriver' | |
def log (message) puts " #{message}" end | |
def success (message) puts "+ #{message}" end | |
def fail (message) puts "- #{message}" end | |
def notify (message) | |
success message.upcase | |
system 'osascript -e \'Display notification "Bürgerbot" with title "%s"\'' % message | |
rescue StandardError => e |
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
--- AppDelegate.m 2022-09-24 11:31:14.000000000 +0200 | |
+++ AppDelegate.mm 2022-09-24 11:29:53.000000000 +0200 | |
@@ -4,42 +4,52 @@ | |
#import <React/RCTBundleURLProvider.h> | |
#import <React/RCTRootView.h> | |
-#ifdef FB_SONARKIT_ENABLED | |
-#import <FlipperKit/FlipperClient.h> | |
-#import <FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h> | |
-#import <FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.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
diff --git a/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.d.ts b/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.d.ts | |
index 54ed145..02dbbf4 100644 | |
--- a/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.d.ts | |
+++ b/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.d.ts | |
@@ -2,7 +2,8 @@ import { Config } from '@react-native-community/cli-types'; | |
export interface Flags { | |
tasks?: Array<string>; | |
root: string; | |
- variant: string; | |
+ flavor: string; |
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
#!/usr/bin/env bash | |
text=":tomato: focus time" | |
emoji=":tomato:" | |
expiration=`date +%s` | |
expiration=$((expiration + 1500)) | |
data=$( jq -n \ |
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
diff --git a/node_modules/@nozbe/watermelondb/WatermelonDB.podspec b/node_modules/@nozbe/watermelondb/WatermelonDB.podspec | |
new file mode 100644 | |
index 0000000..bb0eac2 | |
--- /dev/null | |
+++ b/node_modules/@nozbe/watermelondb/WatermelonDB.podspec | |
@@ -0,0 +1,19 @@ | |
+require "json" | |
+ | |
+Pod::Spec.new do |s| | |
+ # NPM package specification |
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
~ code --list-extensions --show-versions | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] |
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 React, { useState } from "react"; | |
import ReactDOM from "react-dom"; | |
const usePersistedState = (initialState, key) => { | |
// Check if we have a value stored | |
let value = localStorage.getItem(key); | |
if (!value) { | |
value = initialState; | |
} else { | |
value = JSON.parse(value); |
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/sh | |
# Make sure node packages are there | |
yarn | |
# 1st fix: glog config.h not found | |
# Manually trigger 3rd party installs | |
cd node_modules/react-native | |
./scripts/ios-install-third-party.sh |
NewerOlder