Skip to content

Instantly share code, notes, and snippets.

View jentanbernardus's full-sized avatar
:shipit:
Coding everyday keeps the doctor away!

Jentan Bernardus jentanbernardus

:shipit:
Coding everyday keeps the doctor away!
View GitHub Profile
@jentanbernardus
jentanbernardus / README.md
Last active March 31, 2021 19:02
Display a WPForm with code #wordpress #code #snippet

Display a WPForm with code

WPForms is usually added to pages using a shortcode like [wpforms id="123"]. But you can also use the following function to add it to your theme. This is useful when you want a contact form to appear in the footer of every page on your site.

wpforms_display( $id, $display_title, $display_description );

@jentanbernardus
jentanbernardus / functions.php
Last active March 24, 2021 20:31
Enable SVG upload in WordPress
<?php
function gimme_svg($mimes) {
$mimes['svg'] = 'image/svg+xml';
return $mimes;
}
add_filter('upload_mimes', 'gimme_svg');
?>
@jentanbernardus
jentanbernardus / index.html
Created March 16, 2021 04:42
Owl Slider 2
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.css">
<!-- Hero Slider -->
<div id="home" class="hero-slider owl-carousel owl-theme">
<div class="single-hs-item item-bg1">
<div class="d-table">
<div class="d-tablecell">
<div class="hero-text">
@jentanbernardus
jentanbernardus / package.json
Last active December 13, 2019 03:54
FreeCodeCamp
{
"name": "freecodecamp",
"author": "Jentan Bernardus",
"description": "A project that does something awesome",
}
@jentanbernardus
jentanbernardus / vhost.md
Last active January 19, 2024 08:40
Setting Up Virtual Hosts in MAMP on Windows

1. Edit MAMP Apache configuration to include Virtual Hosts configuration

In File Explorer, go to C:\MAMP\conf\apache and open httpd.conf with your text editor.

Find this line:

# Virtual hosts
# Include conf/extra/httpd-vhosts.conf
@jentanbernardus
jentanbernardus / readme.md
Created November 28, 2019 01:38
Working Components of Front-end Architecture

Working Components of Front-end Architecture

Code

  • HTML5/WAI-ARIA
  • CSS/Sass Code standards and organization
  • Object-Oriented approach (how do objects break down and get put together)
  • JS frameworks/organization/performance optimization techniques
  • Asset Delivery - Front-end Ops
@jentanbernardus
jentanbernardus / README.md
Created November 28, 2019 01:21
Merging branches via command line

Merging branches via command line

If you do not want to use the merge button or an automatic merge cannot be performed, you can perform a manual merge on the command line.

Step 1: From your project repository, bring in the changes and test.

`` git fetch origin git checkout -b branch-name origin/branch-name

@jentanbernardus
jentanbernardus / inter.css
Created November 22, 2019 02:34
The Inter typeface family - https://rsms.me/inter/inter.css #fonts
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 100;
font-display: swap;
src: url("font-files/Inter-Thin.woff2?v=3.11") format("woff2"),
url("font-files/Inter-Thin.woff?v=3.11") format("woff");
}
@font-face {
{
"basics": {
"name": "Jentan Bernardus",
"label": "Web Developer",
"summary": "I’m a full stack web developer who can build apps from the ground up. I've worked mostly at startups so I am use to wearing many hats. I am a very product focussed developer who priotizes user feedback first and foremost. I'm generally very flexible when investigating new roles. ",
"website": "https://jentanbernardus.com",
"email": "jentanbernardus@gmail.com",
"location": {
"city": "Curacao",
"countryCode": "CW"