This file contains 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
#!/bin/bash | |
# Connect to database | |
sqlite db.sqlite | |
# Get all tables names | |
.table | |
# Get all tables and their information | |
select * from sqlite_master; |
This file contains 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
#!/usr/bin/env bash | |
yarn set version stable | |
yarn config set nodeLinker node-modules |
This file contains 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
#!/bin/sh | |
settings put global settings_provider_model false | |
settings put secure sysui_qs_tiles "internet,$(settings get secure sysui_qs_tiles)" |
This file contains 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
name: Mobile | |
on: | |
workflow_dispatch: | |
push: | |
branches: [master] | |
permissions: | |
contents: read | |
pull-requests: read |
This file contains 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
@tailwind base; | |
@tailwind components; | |
@tailwind utilities; | |
@layer utilities { | |
@layer components { | |
/* Hide scrollbar for Chrome, Safari and Opera */ | |
.no-scrollbar::-webkit-scrollbar { |
This file contains 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 'package:flutter/material.dart'; | |
import "package:flutter/scheduler.dart"; | |
const Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { |
This file contains 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
/* item.subtitle != null */ | |
/* ? Container( */ | |
/* padding: const EdgeInsets.symmetric( */ | |
/* vertical: 4, */ | |
/* horizontal: 8, */ | |
/* ), */ | |
/* color: Colors.grey[100], */ | |
/* child: Row( */ | |
/* children: [ */ | |
/* CircleAvatar( */ |
This file contains 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
// async function uploadCourseThumbnail(path: string) { | |
// const fileID = createID(); | |
// const file = storage.file(`${fileID}.png`); | |
// file.makePublic(); | |
// return new Promise((resolve, reject) => { | |
// const publicUrl = file.publicUrl(); |
This file contains 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
async function uploadCourseThumbnail(path: string) { | |
const fileID = createID(); | |
const file = storage.file(`${fileID}.png`); | |
file.makePublic(); | |
return new Promise((resolve, reject) => { | |
const publicUrl = file.publicUrl(); | |
fs.createReadStream(path) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder