This file contains hidden or 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 calendar | |
import time | |
from diffusers import StableDiffusionPipeline | |
current_GMT = time.gmtime() | |
time_stamp = calendar.timegm(current_GMT) | |
model_id = "gsdf/Counterfeit-V2.5" | |
pipe = StableDiffusionPipeline.from_pretrained(model_id) |
This file contains hidden or 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/cupertino.dart'; | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(const MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
const MyApp({Key? key}) : super(key: key); |
This file contains hidden or 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/cupertino.dart'; | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(const MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
const MyApp({Key? key}) : super(key: key); |
This file contains hidden or 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/cupertino.dart'; | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(const MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
const MyApp({Key? key}) : super(key: key); |
This file contains hidden or 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:get/get.dart'; | |
import 'package:google_maps_flutter/google_maps_flutter.dart'; | |
import 'package:intl/intl.dart'; | |
import 'package:signbook/app/data/models/sign_model.dart'; | |
import '../controllers/map_controller.dart'; | |
class MapView extends GetView<MapController> { | |
@override |
This file contains hidden or 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": "klcc-api-core", | |
"version": "1.0.0", | |
"main": "index.js", | |
"author": "mosluce", | |
"license": "MIT", | |
"dependencies": { | |
"express": "^4.17.1", | |
"parse-server": "4.5.0" | |
}, |
This file contains hidden or 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
{ | |
"rules": {}, | |
"env": { | |
"es6": true, | |
"browser": true, | |
"node": true | |
}, | |
"parserOptions": { | |
"ecmaVersion": 2018, | |
"sourceType": "module" |
This file contains hidden or 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
{ | |
"rules": {}, | |
"env": { | |
"es6": true, | |
"browser": true, | |
"node": true | |
}, | |
"parserOptions": { | |
"ecmaVersion": 2018, | |
"sourceType": "module" |
This file contains hidden or 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
const express = require('express'); | |
const mongodb = require('mongodb'); | |
const app = express(); | |
function to(promise) { | |
if (!(promise instanceof Promise)) { | |
promise = Promise.resolve(promise); | |
} | |
return promise.then(res => [null, res]).catch(err => [err]); |
This file contains hidden or 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
$scope.get_romig_24g=function(){ | |
return $scope.handle().then(function(res){ | |
console.log("$scope.ip[0] "+ $scope.ip[0]) | |
console.log("res "+res) | |
let url= "http://"+res+"/boafrm/formWlanRedirect?redirect-url=/wladvanced.htm&wlan_id=1" | |
return url | |
},function(err){ | |
console.log(err) | |
err=err+"no ip" | |
return err |
NewerOlder