Skip to content

Instantly share code, notes, and snippets.

View kholidfu's full-sized avatar
🏠
Working from home

Kholid Fuadi kholidfu

🏠
Working from home
View GitHub Profile
@kholidfu
kholidfu / posting-warintek.org
Created October 2, 2023 14:02
how to post from org to blogger in emacs 2025

Menulis Blog dengan Org di Emacs

Melanjutkan serial artikel “Tutorial Emacs untuk Pemula”, kali ini akan membahas cara nge-blog (menulis blog) dengan org mode di Emacs.

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6f-T4n3DMXYA3956pPV7cSmlqWHBVHiM7eKoF2utptrEoiTfSaCh6o1EnMsl15J3v75t5qYivbX0pLRddx8nhV-p8Jlf7qxgGeLEEO2BqsLu-M82VVfayO-gwQ4D_jW93_vJ1tC9iZOqllVZ4hBH_l56SJfG8vFWhf2lFxDT4NrZh6nBv_da8oNT_2OY/s1024/menulis-blog-dengan-org-mode-di-emacs.png

@kholidfu
kholidfu / berkas.txt
Last active September 25, 2023 13:39
Contoh berkas org mode
#+TITLE: [[https://www.warintekjogja.com][WRTG]]
#+AUTHOR: kholidfu
#+DATE: <2023-09-25 Sen>
#+LATEX_CLASS: article
#+LATEX_CLASS_OPTIONS: [letterpaper]
#+LATEX_HEADER: \usepackage[toc]{blindtext}
#+SETUPFILE: ~/.emacs.d/standard-latex-export.org
@kholidfu
kholidfu / standard-latex-export.txt
Last active September 25, 2023 13:40
Standard Latex Export
#+LaTeX_CLASS: org-plain-latex
#+LaTeX_CLASS_OPTIONS: [letterpaper, 11pt]
#+LATEX_HEADER: \usepackage{lmodern} % Ensures we have the right font
#+LATEX_HEADER: \usepackage[T1]{fontenc}
#+LATEX_HEADER: \usepackage[AUTO]{inputenc}
#+LATEX_HEADER: \usepackage{graphicx}
#+LATEX_HEADER: \usepackage{amsmath, amsthm, amssymb}
#+LATEX_HEADER: \usepackage[table, xcdraw]{xcolor}
@kholidfu
kholidfu / .emacs
Created September 25, 2023 13:31
config untuk .emacs
;; dari https://jakebox.github.io/youtube/org_latex_video.html
(with-eval-after-load 'ox-latex
(add-to-list 'org-latex-classes
'("org-plain-latex"
"\\documentclass{article}
[NO-DEFAULT-PACKAGES]
[PACKAGES]
[EXTRA]"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
@kholidfu
kholidfu / index.html
Created September 23, 2023 11:50
membuat template blogger dengan bantuan chatgpt
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Judul Blog Anda</title>
<!-- Tambahkan link Bootstrap CSS di sini -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<style>
/* Kustomisasi CSS tambahan jika diperlukan */
@kholidfu
kholidfu / index.html
Created September 23, 2023 11:45
membuat template blogger dengan chatgpt
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Judul Blog Anda</title>
<!-- Tambahkan link Bootstrap CSS di sini -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<style>
/* Kustomisasi CSS tambahan jika diperlukan */
@kholidfu
kholidfu / index.html
Created September 23, 2023 09:25
building blogger bootstrap template with chatgpt
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Judul Blog Anda</title>
<!-- Tambahkan link Bootstrap CSS di sini -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<style>
/* Kustomisasi CSS tambahan jika diperlukan */
@kholidfu
kholidfu / redirect_blogger.html
Created June 15, 2022 05:36
redirect script for blogger blogspot to homepage
<b:if cond='data:view.isError'>
<script>
window.location.href = &quot;<data:blog.homepageUrl/>&quot;
</script>
</b:if>
@kholidfu
kholidfu / timthumb.php
Created October 4, 2019 06:44
this is my version of timthumb
<?php
/**
* TimThumb by Ben Gillbanks and Mark Maunder
* Based on work done by Tim McDaniels and Darren Hoyt
* http://code.google.com/p/timthumb/
*
* GNU General Public License, version 2
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* Examples and documentation available on the project homepage
@kholidfu
kholidfu / welcome.html
Created March 8, 2019 06:29
welcome.html
<p>
<a href="https://kholidfu.blogspot.com">@kholidfu</a>
</p>