$ keytool -genkey -alias <name> -keyalg RSA -keystore <filename.jks> -keysize 2048
Replace and with appropriate name without arrow brackets.
import unittest | |
class Node(): | |
def __init__(self, data): | |
self.data = data | |
self.next = None | |
def __str__(self): | |
return f"Node(data={self.data}, next={str(self.next)})" |
import OAuth from "oauth-1.0a"; | |
import crypto from "crypto"; | |
const authParams = { | |
consumer: { | |
key: "<consumer-key>", | |
secret: "<consumer-secret>", | |
}, | |
signature_method: "HMAC-SHA256", | |
hash_function: (base: any, key: any) => { |
from tkinter import * | |
from PIL import ImageTk | |
class Signup(Frame): | |
def __init__(self, parent, controller, sqliteConnection): | |
Frame.__init__(self, parent) | |
self.controller = controller |
from tkinter import * | |
# car = ["Agya", "Calya", "Pajero"] | |
# { | |
# merk: "Agya", | |
# plat: "...", | |
# harga: "Rp 10.000" | |
# } |
class Axios { | |
post() { | |
return true; | |
} | |
} | |
class Gateway { | |
constructor() { | |
this.api = new Axios(); | |
} |
class Publisher | |
attr_accessor :strategy | |
def initialize(strategy) | |
@strategy = strategy | |
end | |
def publish(data) | |
@strategy.call(data) | |
end |
<div class="container"> | |
<div class="item"></div> | |
<div class="item"></div> | |
<div class="item"></div> | |
<div class="item"></div> | |
<div> |
class UserAccount { | |
private firstName: string | |
private lastName: string | |
private username: string | |
private email: string | |
private password: string | |
constructor( | |
firstName: string, | |
lastName: string, |
Connect the USB flash drive to your PC, open a terminal and cd to where you downloaded the disc image.
Check the device identifier with: sudo fdisk -l
Write the image with:
sudo dd if=manjaro-xfce-18.0-stable-x86_64.iso of=/dev/(Device identifier from above) bs=4M
My USB drive is at /dev/sdc so I would use:
sudo dd if=manjaro-xfce-18.0-stable-x86_64.iso of=/dev/sdc bs=4M