- Install User JavaScript and CSS extension
- Go to the extension options page:
- Click on 'Add new site':
- Enter name and domain:
- Copy & paste the script, and 'Save'
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
require 'yaml' | |
CONFIG_FILE = ARGV[0] | |
config = YAML.load_file(CONFIG_FILE) | |
config['workflows'].each do |workflow_name, workflow| | |
next unless workflow.is_a?(Hash) | |
puts "### #{workflow_name}" |
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 | |
set -euo pipefail | |
# shellcheck disable=1091 | |
source "$(dirname "$0")/shared.sh" | |
# Funtions | |
#----------------------------------------------- | |
install_git_filter_repo() { |
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
FROM ubuntu:16.04 | |
RUN set -ex \ | |
&& apt-get update \ | |
&& apt-get install -y locales \ | |
&& locale-gen en_US.UTF-8 \ | |
&& update-locale LANG=en_US.UTF-8 \ | |
&& apt-get clean \ | |
&& rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* | |
ENV LC_ALL C |
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 javax.crypto.Mac | |
import javax.crypto.spec.SecretKeySpec | |
import kotlin.experimental.and | |
import kotlin.experimental.or | |
fun hmacSha256(data: String, key: String): ByteArray { | |
val algorithm = "HmacSHA256" | |
val secretKeySpec = SecretKeySpec(key.toByteArray(), algorithm) | |
val mac = Mac.getInstance(algorithm) | |
mac.init(secretKeySpec) |
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
document.querySelectorAll('tr[id^=tr_line_of_]').forEach(el => { | |
const start = el.querySelector('input[name^=start]'); | |
const end = el.querySelector('input[name^=end]'); | |
const button = el.querySelector('.btn'); | |
const holiday = el.querySelector('#uneditable_holiday'); | |
if (!!start.value && !!end.value) { | |
return; | |
} | |
if (holiday.innerText.match(/休/)) { |
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 Foundation | |
public struct Swizzle { | |
private init() {} | |
public static func classMethod(_ cls: AnyClass, to: Selector, from: Selector) { | |
let cls: AnyClass = object_getClass(cls)! | |
let toMethod = class_getInstanceMethod(cls, to) | |
let fromMethod = class_getInstanceMethod(cls, from) |
Wantedly is a Tokyo-based startup, founded in 2010 helps you discover jobs that ignite your passion. Our mission is to ’create a world where work drives passion.’
Wantedly aims to create a world where people can experience personal growth and development and contribute to society through their challenges of work.
Because your work takes up such a great portion of your life, we believe it must be exciting and worthwhile.
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
#1a1a1a,#444444,#8397a9,#39444d,#303030,#a8a8a8,#a3a46f,#af7070 |
NewerOlder