Demonstrate creating a CA Certificate, Creating a signed Client Certificate and Private Key, and Signing a Certificate Signing Request CSR using a given CA.
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:in_app_update/in_app_update.dart'; | |
/// Check for updates and start the update process if available | |
/// | |
/// Returns the result of the update process or null if no update is available | |
/// | |
/// For priority 0 - 3, the update process is started in the background and the | |
/// user is not interrupted. The update will be installed the next time the app | |
/// is opened. | |
/// |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
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
#!/bin/sh | |
# list all system env variables starting with flutter_ and put them in an array variable | |
values=$(env | grep ^flutter_) | |
# check if values is empty | |
if [ -z "$values" ]; then | |
echo "No environment variables found starting with flutter_" | |
exit 0 | |
fi |
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
_0x173302 = | |
(!(function (p, s) { | |
var e, x; | |
"object" == typeof exports && "undefined" != typeof module | |
? (module.exports = s()) | |
: "function" == typeof define && define.amd | |
? define(s) | |
: ((p = p || self), | |
(e = p.Cookies), | |
((x = p.Cookies = s()).noConflict = function () { |
Golang Script to extract file direct download link for Google Drive files with any size without encountering the dump Google Drive can't scan this file for viruses
webpage.
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
package main | |
import ( | |
"net/http" | |
"github.com/rs/cors" | |
) | |
func main() { | |
mux := http.NewServeMux() |
A Wave clipper for nav bars or any other usecase.
class _WaveClipper extends CustomClipper<Path> {
@override
Path getClip(Size size) {
const depth = 0.4; // depth of the wave
const _s = .2; // slope of the wave
const _loc = 0.8 / 2; // location of the wave
final path = Path()
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
D/SurfaceView(31194): UPDATE Surface(name=SurfaceView - com.ahmed.zoom_sdk_issue/com.ahmed.zoom_sdk_issue.MainActivity)/@0xa84b9d9, mIsProjectionMode = false | |
V/MiuiFrameworkFactory(31194): get AllImpl object = android.common.MiuiFrameworkFactoryImpl@1f96f9e | |
W/MirrorManager(31194): this model don't Support | |
D/SurfaceView(31194): UPDATE Surface(name=SurfaceView - com.ahmed.zoom_sdk_issue/com.ahmed.zoom_sdk_issue.MainActivity)/@0xa7e1a95, mIsProjectionMode = false | |
I/AudioManager(31194): In isBluetoothScoAvailableOffCall(), calling appilication: com.ahmed.zoom_sdk_issue, return value: true | |
I/AudioManager(31194): In isBluetoothScoOn(), calling application: com.ahmed.zoom_sdk_issue | |
D/BluetoothHeadset(31194): Binding service... | |
I/ZoomSDK (31194): setDomain, set Zoom domain as zoom.us | |
I/flutter (31194): listen on event channel | |
I/MeetingServiceImpl(31194): joinMeetingWithParams: sUri=zoomus://zoom.us/join?confno=76510999443&uname=ahmed&pwd=730JCx&show_water_mark=1&no_driving_mode=1&no_invite=1&no_dial_in_via_phone=1&no |
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
package main | |
import ( | |
"context" | |
"log" | |
"github.com/aws/aws-sdk-go-v2/aws" | |
"github.com/aws/aws-sdk-go-v2/credentials" | |
"github.com/aws/aws-sdk-go-v2/service/s3" | |
) |
NewerOlder