This file contains hidden or 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
| //membuat layout dari terang menjadi gelap | |
| <div | |
| class='absolute bottom-0 left-0 right-0 z-10 pointer-events-none isolate h-50' | |
| > | |
| <div | |
| style='-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)' | |
| class='absolute inset-0 gradient-mask blur-[1px]'></div><div | |
| style='-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)' | |
| class='absolute inset-0 gradient-mask blur-[2px]'></div><div |
This file contains hidden or 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
| /** @type {import('prettier').Config} */ | |
| module.exports = { | |
| endOfLine: "lf", | |
| semi: false, | |
| singleQuote: false, | |
| tabWidth: 2, | |
| trailingComma: "es5", | |
| importOrder: [ | |
| "^(react/(.*)$)|^(react$)", | |
| "^(next/(.*)$)|^(next$)", |
This file contains hidden or 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
| // Tailwind colors for Flexoki theme by Steph Ango. https://stephango.com/flexoki | |
| const colors = { | |
| base: { | |
| black: '#100F0F', | |
| 950: '#1C1B1A', | |
| 900: '#282726', | |
| 850: '#343331', | |
| 800: '#403E3C', | |
| 700: '#575653', |
This file contains hidden or 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/bash | |
| fileid="paste file id" | |
| filename="filename.csv" | |
| curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}" > /Users/{{username}}/Documents/GitHub/Folderto_go/_data/${filename} |
This file contains hidden or 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
| --- | |
| layout: nil | |
| permalink: /data/top5.json | |
| description: simpan di _pages | |
| --- | |
| [ {% capture kup %}kup{% endcapture %}{% assign dataidCategory = site.data[kup] | sort: "Last Updated" | reverse %}{% for item in dataidCategory limit:6 %} | |
| { | |
| "title": "{{ item.Document }}", | |
| "category": "{{ item.LastUpdated }}", | |
| "url": "{{ item.url }}" |
This file contains hidden or 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 | |
| raise 'Missing argument: Filename' if ARGV.empty? | |
| require 'Date' | |
| post_title = ARGV.join(' ') | |
| post_date = Date.today.to_s | |
| post_time = '09:00:00 -04:00' | |
| file_path = "./_posts/#{post_date}-#{ARGV.join('-').gsub(/:/, "").downcase}.md" |
This file contains hidden or 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
| function changeStyle() { | |
| myHeading1 = {}; | |
| myHeading1[DocumentApp.Attribute.FONT_SIZE] = 24; | |
| myHeading1[DocumentApp.Attribute.FONT_FAMILY] = "Georgia"; | |
| myHeading2 = {}; | |
| myHeading2[DocumentApp.Attribute.FONT_SIZE] = 16; | |
| myHeading2[DocumentApp.Attribute.FONT_FAMILY] = "Verdana"; | |
| myHeading2[DocumentApp.Attribute.FOREGROUND_COLOR] = "#555555"; |
This file contains hidden or 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
| /** | |
| * A special function that runs when the spreadsheet is open, used to add a | |
| * custom menu to the spreadsheet. | |
| */ | |
| function onOpen() { | |
| var spreadsheet = SpreadsheetApp.getActive(); | |
| var menuItems = [ | |
| {name: 'List All', functionName: 'listAll'}, | |
| {name: 'Split', functionName: 'getSplit'}, | |
| {name: 'DeleteNilRow', functionName: 'deleteNilRow'}, |
This file contains hidden or 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 https://gist.github.com/IronistM/8be09ebd4c5a4a58c63b */ | |
| function exportSheetAsJSON() { | |
| var sheet = SpreadsheetApp.getActiveSheet(); | |
| var rows = sheet.getDataRange(); | |
| var numRows = rows.getNumRows(); | |
| var numCols = rows.getNumColumns(); | |
| var values = rows.getValues(); | |
| var output = ""; |