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
package main | |
import ( | |
"bufio" | |
"crypto/sha256" | |
"fmt" | |
"io" | |
"os" | |
"os/exec" | |
"path/filepath" |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Document</title> | |
<style> | |
[v-cloak]{ | |
display: none; | |
} |
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
<script> | |
// <![CDATA[ | |
(() => { | |
let elemen = document.querySelector('.widget.Blog') | |
elemen.innerHTML = elemen.innerHTML.replace(/\[link /g, '[link ') | |
let list_link = [] | |
const cocok = elemen.innerHTML.match(/\[link \S+\]/g) | |
const banyak_link = cocok ? cocok.length : 0 |
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
<b:if cond='data:view.isPost'> | |
<meta content='article' property='og:type'/> | |
</b:if> | |
<b:if cond='data:blog.url == data:blog.homepageUrl'> | |
<meta content='website' property='og:type'/> | |
</b:if> |
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
<script> | |
import "./style.css" | |
</script> |
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
import {Portal} from 'solid-js/web' | |
import {createSignal} from 'solid-js' | |
const [data, setData] = createSignal({tulisan: '<p>hello <strong>world</strong></p>'}) | |
const Tulis = () => ( | |
<div> | |
<div className="grid grid-cols-4"> | |
<div className=""> | |
<p>Hai</p> |
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
import { createRenderEffect, createSignal, For } from "solid-js"; | |
function App() { | |
const [language, setLanguage] = createSignal([]) | |
const languages = ['Inggris', 'Indo', 'Jepang', 'Spanyol'] | |
function checkHandler(item, element) { |
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
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index.html$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.html [L] | |
RewriteEngine On | |
RewriteCond %{HTTPS} off | |
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] |
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
> Using @sveltejs/adapter-static | |
> adapter.adapt is not a function | |
TypeError: adapter.adapt is not a function | |
at adapt (file:///home/zen/Dokumen/website/coba-svelte-kit/node_modules/@sveltejs/kit/dist/chunks/index5.js:758:16) | |
at async file:///home/zen/Dokumen/website/coba-svelte-kit/node_modules/@sveltejs/kit/dist/cli.js:507:5 | |
npm ERR! code 1 | |
npm ERR! path /home/zen/Dokumen/website/coba-svelte-kit | |
npm ERR! command failed | |
npm ERR! command sh -c svelte-kit build |
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
Error: No element indexed by 0 | |
at ArraySet$2.ArraySet_at [as at] (/home/zen/Documents/projects/coba-svelte-kit/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-e0f09032.js:24278:9) | |
at BasicSourceMapConsumer.<anonymous> (/home/zen/Documents/projects/coba-svelte-kit/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-e0f09032.js:25193:67) | |
at Array.map (<anonymous>) | |
at BasicSourceMapConsumer.SourceMapConsumer_eachMapping [as eachMapping] (/home/zen/Documents/projects/coba-svelte-kit/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-e0f09032.js:25192:14) | |
at merge (/home/zen/Documents/projects/coba-svelte-kit/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-e0f09032.js:26656:18) | |
at ssrTransform (/home/zen/Documents/projects/coba-svelte-kit/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-e0f09032.js:61382:15) | |
at transformRequest (/home/zen/Documents/projects/coba-svelte-kit/node_modules/.pnpm |
NewerOlder