console.log('hello world');
body { margin: 0 }
import axios, { AxiosResponse } from 'axios'; | |
import { useEffect, useState } from 'react'; | |
const useAxiosFetch: any = ( | |
url: string, | |
params: any, | |
headers: any, | |
timeout?: number | |
) => { | |
const [data, setData] = useState<AxiosResponse | null>(null); |
from django.contrib.auth import login, logout | |
from rest_framework import viewsets, permissions, status, views | |
from rest_framework.authtoken.serializers import AuthTokenSerializer | |
from rest_framework.authtoken.views import ObtainAuthToken | |
from rest_framework.response import Response | |
class LoginView(viewsets.ViewSet): | |
serializer_class = AuthTokenSerializer | |
permission_classes = [permissions.AllowAny] |
Set WSHShell = WScript.CreateObject("WScript.Shell") | |
Set fs = WScript.CreateObject("Scripting.FileSystemObject") | |
Function MakeDesktopShortcut( name, target, arguments ) | |
Dim Shortcut,DesktopPath,StartupPath | |
DesktopPath = WSHShell.SpecialFolders("Desktop") | |
Set Shortcut = WSHShell.CreateShortcut(DesktopPath & "\" & name & ".lnk") | |
Shortcut.TargetPath = target | |
Shortcut.Arguments = arguments | |
Shortcut.Save |