Skip to content

Instantly share code, notes, and snippets.

View george-aidonidis's full-sized avatar

George Aidonidis george-aidonidis

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Red Component</key>
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################
# With: reflector --protocol https --latest 30 --number 20 --sort rate --save /etc/pacman.d/mirrorlist
# When: 2020-01-04 11:05:48 UTC
# From: https://www.archlinux.org/mirrors/status/json/
# Retrieved: 2020-01-04 11:05:38 UTC
# Last Check: 2020-01-04 10:48:37 UTC
#!/bin/bash
set -e
##################################################################################################################
# Author : Erik Dubois
# Website : https://www.erikdubois.be
# Website : https://www.arcolinux.info
# Website : https://www.arcolinux.com
# Website : https://www.arcolinuxd.com
# Website : https://www.arcolinuxb.com
# Website : https://www.arcolinuxiso.com
########################################################################################
# Simple script that gathers all needed commands to install arch linux on UEFI system. #
########################################################################################
# Before running this script you need to partition the hard drive
# After you specify the hard drive's name you can type: cfdisk /dev/sdX (where X should be replaced)\
# The following commands are expecting:
# - the first partition to be the UEFI
# - the second to be root
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@george-aidonidis
george-aidonidis / Select.js
Last active September 2, 2017 03:53
Grommet select onEnter
_onEnter (event) {
const { onChange, options } = this.props;
const { activeOptionIndex } = this.state;
const { intl } = this.context;
event.preventDefault(); // prevent submitting forms
const option = options[activeOptionIndex >= 0 ? activeOptionIndex : 0];
const value = this._valueForSelectedOption(option);
this.setState({ dropActive: false, value }, () => {
const optionMessage = this._renderLabel(option);
const selectedMessage = Intl.getMessage(intl, 'Selected');