Skip to content

Instantly share code, notes, and snippets.

@josedache
josedache / reset.sh
Created February 25, 2024 18:41 — forked from xiaklizrum/reset.sh
Reset jetbrains intellij idea 2020 30-day evaluation period
# linux
rm -rf ~/.config/JetBrains/IntelliJIdea*/eval/*.evaluation.key ~/.config/JetBrains/IntelliJIdea*/options/other.xml ~/.java/.userPrefs/jetbrains/idea
# mac os
rm ~/Library/Application\ Support/JetBrains/IntelliJIdea*/eval/*.evaluation.key ~/Library/Application\ Support/JetBrains/IntelliJIdea*/options/other.xml ~/Library/Preferences/jetbrains.idea.* ~/Library/Preferences/com.apple.java.util.prefs.plist
@josedache
josedache / KeychainStorage.js
Created January 24, 2021 07:51 — forked from patrickkempff/KeychainStorage.js
redux-persist react-native-keychain
import { AsyncStorage } from 'react-native'
import { setGenericPassword, getGenericPassword, resetGenericPassword } from 'react-native-keychain'
export default {
async getAllKeys (callback) {
try {
const keys = await AsyncStorage.getAllKeys()
if (callback) {
callback(null, keys)
}
@josedache
josedache / react-native-flastlist-to-sectionlist-data.html
Created January 16, 2021 16:58 — forked from jmcmaster/react-native-flastlist-to-sectionlist-data.html
Simple algorithm to convert React Native FlatList data to SectionList data
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.20.1/moment.min.js"></script>
<script>
moment.locale();
const data = [
{
datetime: "2018-01-03T13:07:46+00:00",
name: "breakfast"
},
{
@josedache
josedache / README-Template.md
Created January 8, 2021 11:04 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites