Skip to content

Instantly share code, notes, and snippets.

View fleetimee's full-sized avatar

Shionne Imeris fleetimee

View GitHub Profile
@fleetimee
fleetimee / settings.json
Created September 13, 2022 01:45
fleetime's customized vscode settings
{
"synthwave84.brightness": 0.55,
"workbench.editor.showTabs": true,
"explorer.confirmDelete": false,
"editor.formatOnPaste": true,
"editor.formatOnType": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.fontLigatures": true,
"git.enableSmartCommit": true,
"git.autofetch": true,
var disqus_config = function () {
// we are using document.location.* here because Jekyll code does not work well in JS code.
this.page.url = document.location.href;
this.page.identifier = document.location.pathname;
};
// You should be able to get the following lines of code from your Disqus admin.
// https://disqus.com/admin/universalcode
(function () {
// DON'T EDIT BELOW THIS LINE
import 'dart:convert';
import 'package:http/http.dart' as http;
import 'package:shared_preferences/shared_preferences.dart';
class Network {
final String _url = 'http://192.168.100.207:8080/api/';
// 192.168.1.2 is my IP, change with your IP address
var token;
_getToken() async {
class User{
int id;
String username, email, nama_lengkap;
User({this.id, this.username, this.email, this.nama_lengkap});
factory User.fromJson(Map<String, dynamic> json){
return User(
id: json['id'],
username: json['username'],
import 'package:flutter/material.dart';
import 'package:flutter_auth/screens/Menu/about.dart';
import 'package:flutter_auth/screens/Menu/input_data.dart';
import 'package:flutter_auth/screens/Menu/manual.dart';
import 'package:flutter_auth/screens/Menu/nasabah.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:flutter_auth/network/api.dart';
import 'dart:convert';
import 'login.dart';
"use strict";
module.exports = {
async up(queryInterface, Sequelize) {
queryInterface.addColumn("Tbl_user", "nama_lengkap", {
type: Sequelize.STRING,
allowNull: true,
});
},
@fleetimee
fleetimee / ffmpeg-compress-mp4
Created November 28, 2021 09:52 — forked from lukehedger/ffmpeg-compress-mp4
Compress mp4 using FFMPEG
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4
@fleetimee
fleetimee / .. MediaCreationTool.bat ..md
Created October 5, 2021 16:13 — forked from AveYo/.. MediaCreationTool.bat ..md
Universal MediaCreationTool wrapper for all MCT Windows 10 versions from 1507 to 21H1 with business (Enterprise) edition support

Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,
Preview
A powerful yet simple windows 10 / 11 deployment automation tool as well!

configure via set vars, commandline parameters or rename script like iso 21H2 Pro MediaCreationTool.bat
recommended windows setup options with the least amount of issues on upgrades already set
awesome keyboard focus dialogs to pick windows version and enhanced preset action

Auto Setup for upgrading directly with the auto-detected Edition, Language, Architecture *
- can troubleshoot auto setup failing by adding no_update to script name

@fleetimee
fleetimee / PostsController.php
Created July 17, 2020 09:09
fix kategori gak update
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests\Posts\CreatePostRequest;
use App\Http\Requests\Posts\UpdateostRequest;
use App\Tag;
use App\Post;
use App\Category;
@fleetimee
fleetimee / sli.nip
Last active November 22, 2021 09:04
nvidia-sli-profile
<?xml version="1.0" encoding="utf-16"?>
<ArrayOfProfile>
<Profile>
<ProfileName>American Truck Simulator</ProfileName>
<Executeables>
<string>amtrucks.exe</string>
</Executeables>
<Settings>
<ProfileSetting>
<SettingNameInfo />